Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.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.0009536/0.0009536, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009061/0.0009061, allocations: 160.9 kB / 24.91 MB, free: 8.719 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 0.907/0.907, allocations: 177 MB / 205.2 MB, free: 5.051 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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.522e-05, allocations: 5.266 kB / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.009026/0.009041, allocations: 12.5 MB / 285.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004851/0.01389, allocations: 4.36 MB / 290.3 MB, free: 100 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.1012/0.1151, allocations: 100.9 kB / 290.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00252/0.1177, allocations: 0.975 MB / 291.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002924/0.1206, allocations: 1.316 MB / 292.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000869/0.1214, allocations: 0.5304 MB / 293.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003617/0.1251, allocations: 4.862 MB / 298.1 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002128/0.1272, allocations: 2.073 MB / 300.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/0.1308, allocations: 3.385 MB / 303.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.1332, allocations: 2.455 MB / 306 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006451/0.1339, allocations: 0.543 MB / 306.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007723/0.1346, allocations: 0.6442 MB / 307.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007207/0.1353, allocations: 1.576 MB / 308.8 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.1365, allocations: 1.737 MB / 310.5 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.1388, allocations: 4.043 MB / 314.5 MB, free: 5.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1388, allocations: 4 kB / 314.5 MB, free: 5.363 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1388, allocations: 0 / 314.5 MB, free: 5.363 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.801e-05/0.1388, allocations: 0 / 314.5 MB, free: 5.363 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.00336/0.1422, allocations: 4.42 MB / 319 MB, free: 1.137 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.1422, allocations: 15.98 kB / 319 MB, free: 1.121 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008729/0.1431, allocations: 0.692 MB / 319.7 MB, free: 448 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.1449, allocations: 1.641 MB / 321.3 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.145, allocations: 271.3 kB / 321.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/0.1453, allocations: 361.5 kB / 321.9 MB, free: 14.24 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.1479, allocations: 2.853 MB / 324.8 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-05/0.1479, allocations: 17.42 kB / 324.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/0.1481, allocations: 146.4 kB / 324.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.1483, allocations: 195.1 kB / 325.1 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.1498, allocations: 1.081 MB / 326.2 MB, free: 10 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008769/0.1585, allocations: 9.151 MB / 335.4 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.1598, allocations: 1.361 MB / 336.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008953/0.1607, allocations: 0.772 MB / 337.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.1608, allocations: 69.91 kB / 337.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1609, allocations: 52.56 kB / 337.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 3.066e-06/0.1609, allocations: 0 / 337.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.00617/0.167, allocations: 3.988 MB / 341.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.1671, allocations: 77.41 kB / 341.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.1685, allocations: 1.509 MB / 343.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.1686, allocations: 61.7 kB / 343.2 MB, free: 9.781 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005376/0.1691, allocations: 1.368 MB / 344.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/0.1695, allocations: 0.7616 MB / 345.4 MB, free: 7.777 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004/0.1699, allocations: 386.3 kB / 345.8 MB, free: 7.441 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.29e-05/0.17, allocations: 305.1 kB / 346 MB, free: 7.141 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.1704, allocations: 287.8 kB / 346.3 MB, free: 6.855 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005933/0.171, allocations: 0.7207 MB / 347 MB, free: 6.004 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.1721, allocations: 1.292 MB / 348.3 MB, free: 4.637 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.1721, allocations: 4 kB / 348.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.001869/0.174, allocations: 1.535 MB / 349.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.174, allocations: 8 kB / 349.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.174, allocations: 16 kB / 349.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/0.1754, allocations: 0.5809 MB / 350.5 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009612/0.1764, allocations: 497.8 kB / 351 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003642/0.18, allocations: 5.665 MB / 356.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005981/0.1806, allocations: 71.94 kB / 356.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-05/0.1807, allocations: 71.98 kB / 356.8 MB, free: 12.13 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.0005078/0.1812, allocations: 256.9 kB / 357 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/0.1815, allocations: 239.7 kB / 357.3 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.1835, allocations: 1.409 MB / 358.7 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.1835, allocations: 24 kB / 358.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.1835, allocations: 8 kB / 358.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.1835, allocations: 11.95 kB / 358.7 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004112/0.1876, allocations: 3.437 MB / 362.2 MB, free: 7.031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.1876, allocations: 4 kB / 362.2 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007794/0.1884, allocations: 352.5 kB / 362.5 MB, free: 6.699 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001326/0.1897, allocations: 0.6927 MB / 363.2 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.609e-05/0.1898, allocations: 51.98 kB / 363.2 MB, free: 5.945 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004231/0.194, allocations: 6.895 MB / 370.1 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.194, allocations: 4 kB / 370.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.1962, allocations: 1.956 MB / 372.1 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007835/0.197, allocations: 324.5 kB / 372.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.1972, allocations: 51.94 kB / 372.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005302/0.1978, allocations: 83.95 kB / 372.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/0.198, allocations: 165.6 kB / 372.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.786e-05/0.198, allocations: 47.98 kB / 372.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006089/0.1987, allocations: 0.7686 MB / 373.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1987, allocations: 4 kB / 373.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001386/0.2, allocations: 0.7929 MB / 374.3 MB, free: 10.62 MB / 330.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.0003944/0.2004, allocations: 224.8 kB / 374.5 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001779/0.2022, allocations: 1.719 MB / 376.3 MB, free: 8.672 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.777e-05/0.2022, allocations: 29.75 kB / 376.3 MB, free: 8.645 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.2035, allocations: 1.337 MB / 377.6 MB, free: 7.277 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.2048, allocations: 0.6561 MB / 378.3 MB, free: 6.645 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006593/0.2114, allocations: 6.188 MB / 384.5 MB, free: 432 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006958/0.2121, allocations: 0.8779 MB / 385.3 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006627/0.2128, allocations: 309.1 kB / 385.6 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/0.2138, allocations: 0.6162 MB / 386.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2138, allocations: 0 / 386.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of Templates: time 0.0473/0.2611, allocations: 42.39 MB / 428.7 MB, free: 4.742 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/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.9491504658944905]