Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009237/0.0009237, allocations: 85.8 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000979/0.000979, allocations: 168.2 kB / 24.82 MB, free: 8.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.052/1.052, allocations: 177 MB / 205.1 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.787e-05, allocations: 2.312 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01163/0.01166, allocations: 12.46 MB / 285.8 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007824/0.01948, allocations: 4.202 MB / 290 MB, free: 496 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002383/0.02187, allocations: 103.3 kB / 290.1 MB, free: 392 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.13/0.1519, allocations: 0.9601 MB / 291.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004168/0.156, allocations: 1.31 MB / 292.4 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.1577, allocations: 0.5358 MB / 292.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005866/0.1635, allocations: 4.854 MB / 297.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003555/0.1671, allocations: 2.017 MB / 299.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007958/0.175, allocations: 3.404 MB / 303.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004928/0.18, allocations: 2.467 MB / 305.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001578/0.1815, allocations: 0.5463 MB / 306.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.1836, allocations: 0.6406 MB / 306.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009977/0.1846, allocations: 1.582 MB / 308.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002846/0.1875, allocations: 1.729 MB / 310.2 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004429/0.1919, allocations: 4.056 MB / 314.2 MB, free: 5.898 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1919, allocations: 0 / 314.2 MB, free: 5.898 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1919, allocations: 0 / 314.2 MB, free: 5.898 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001704/0.1921, allocations: 0 / 314.2 MB, free: 5.898 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.005619/0.1977, allocations: 4.813 MB / 319 MB, free: 1.266 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1977, allocations: 11.98 kB / 319 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.1988, allocations: 0.841 MB / 319.9 MB, free: 424 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.2013, allocations: 2.24 MB / 322.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002645/0.2016, allocations: 266.5 kB / 322.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003313/0.2019, allocations: 357.6 kB / 322.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/0.2053, allocations: 2.815 MB / 325.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.263e-05/0.2054, allocations: 9.672 kB / 325.6 MB, free: 10.83 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/0.2056, allocations: 153.2 kB / 325.7 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001321/0.2057, allocations: 187.1 kB / 325.9 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.2074, allocations: 1.047 MB / 326.9 MB, free: 9.457 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01282/0.2203, allocations: 11.65 MB / 338.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.2217, allocations: 1.391 MB / 340 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009673/0.2226, allocations: 0.8515 MB / 340.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.2228, allocations: 59.47 kB / 340.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.2228, allocations: 59.39 kB / 340.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 3.977e-06/0.2228, allocations: 3.656 kB / 340.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.00673/0.2296, allocations: 4.083 MB / 345 MB, free: 8.051 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.2296, allocations: 73.41 kB / 345.1 MB, free: 7.965 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.2311, allocations: 1.832 MB / 346.9 MB, free: 6.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.431e-05/0.2312, allocations: 61.7 kB / 347 MB, free: 6.312 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008483/0.2321, allocations: 1.804 MB / 348.8 MB, free: 4.582 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004443/0.2325, allocations: 0.7888 MB / 349.6 MB, free: 3.836 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004307/0.2329, allocations: 455.9 kB / 350 MB, free: 3.434 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.233, allocations: 480.8 kB / 350.5 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.2334, allocations: 284.4 kB / 350.8 MB, free: 2.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009437/0.2344, allocations: 0.9642 MB / 351.7 MB, free: 1.516 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.2356, allocations: 1.464 MB / 353.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.2356, allocations: 4 kB / 353.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00233/0.2379, allocations: 1.898 MB / 355.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.2379, allocations: 8 kB / 355.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.238, allocations: 16 kB / 355.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.2392, allocations: 0.5915 MB / 355.7 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009879/0.2402, allocations: 0.5018 MB / 356.2 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004664/0.2449, allocations: 7.553 MB / 363.8 MB, free: 5.215 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.246, allocations: 67.98 kB / 363.8 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.2461, allocations: 68 kB / 363.9 MB, free: 5.082 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000783/0.2469, allocations: 306.1 kB / 364.2 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004214/0.2473, allocations: 338.3 kB / 364.5 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.2496, allocations: 1.669 MB / 366.2 MB, free: 2.797 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.2496, allocations: 24 kB / 366.2 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.2496, allocations: 4 kB / 366.2 MB, free: 2.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.2496, allocations: 19.89 kB / 366.3 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005461/0.2551, allocations: 4.096 MB / 370.4 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.2551, allocations: 0 / 370.4 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007869/0.2559, allocations: 361.3 kB / 370.7 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.2573, allocations: 0.6562 MB / 371.4 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.2574, allocations: 59.91 kB / 371.4 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005527/0.2629, allocations: 9.218 MB / 380.6 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2629, allocations: 7.188 kB / 380.6 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00307/0.266, allocations: 2.285 MB / 382.9 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008217/0.2668, allocations: 469.1 kB / 383.4 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.267, allocations: 51.98 kB / 383.4 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005675/0.2676, allocations: 79.95 kB / 383.5 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/0.2678, allocations: 169.6 kB / 383.7 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-05/0.2679, allocations: 47.98 kB / 383.7 MB, free: 1.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000895/0.2688, allocations: 0.9735 MB / 384.7 MB, free: 284 kB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2688, allocations: 0 / 384.7 MB, free: 284 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001868/0.2707, allocations: 0.793 MB / 385.5 MB, free: 15.48 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004865/0.2712, allocations: 246.6 kB / 385.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002542/0.2737, allocations: 2.011 MB / 387.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2737, allocations: 4 kB / 387.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.2751, allocations: 1.642 MB / 389.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.2767, allocations: 0.6514 MB / 390 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008589/0.2853, allocations: 6.424 MB / 396.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008745/0.2862, allocations: 1.034 MB / 397.5 MB, free: 3.348 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001118/0.2873, allocations: 313.1 kB / 397.8 MB, free: 3.035 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.2884, allocations: 0.697 MB / 398.5 MB, free: 2.336 MB / 346.7 MB Notification: Performance of SimCode: time 1.673e-06/0.2884, allocations: 0 / 398.5 MB, free: 2.336 MB / 346.7 MB Notification: Performance of Templates: time 0.1993/0.4877, allocations: 42.61 MB / 441.1 MB, free: 114 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5865483758971095]