Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 78.92 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 145.3 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 173.3 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_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.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 3.938 kB / 319 MB, free: 3.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.836e-05, allocations: 3.125 kB / 319 MB, free: 3.508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01274/0.01275, allocations: 11.31 MB / 330.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009253/0.02201, allocations: 3.978 MB / 334.3 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002873/0.02488, allocations: 102.3 kB / 334.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0033/0.02818, allocations: 0.9651 MB / 335.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005259/0.03344, allocations: 1.284 MB / 336.6 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.03538, allocations: 0.5153 MB / 337.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006877/0.04226, allocations: 4.808 MB / 341.9 MB, free: 4.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00358/0.04584, allocations: 2.016 MB / 343.9 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007455/0.0533, allocations: 3.157 MB / 347.1 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005405/0.0587, allocations: 2.287 MB / 349.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001487/0.06019, allocations: 0.5547 MB / 349.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.06232, allocations: 0.6404 MB / 350.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002029/0.06435, allocations: 1.574 MB / 352.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003145/0.06749, allocations: 1.719 MB / 353.9 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00965/0.07714, allocations: 7.545 MB / 361.4 MB, free: 1.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.07715, allocations: 0 / 361.4 MB, free: 1.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.07715, allocations: 0 / 361.4 MB, free: 1.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001779/0.07733, allocations: 0 / 361.4 MB, free: 1.008 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01001/0.08734, allocations: 4.698 MB / 366.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.08738, allocations: 8.922 kB / 366.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.08881, allocations: 0.5136 MB / 366.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0048/0.09361, allocations: 2.52 MB / 369.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/0.09385, allocations: 263.4 kB / 369.4 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005894/0.09444, allocations: 352.3 kB / 369.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009334/0.1038, allocations: 5.283 MB / 375 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.871e-05/0.1039, allocations: 11.95 kB / 375.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003804/0.1042, allocations: 144 kB / 375.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002348/0.1045, allocations: 187 kB / 375.4 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007634/0.1121, allocations: 4.287 MB / 379.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02272/0.1348, allocations: 12.85 MB / 392.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004375/0.1392, allocations: 2.689 MB / 395.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003364/0.1426, allocations: 1.874 MB / 397.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002477/0.1428, allocations: 57.97 kB / 397.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/0.1429, allocations: 52.56 kB / 397.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=198): time 4.238e-06/0.1429, allocations: 0 / 397.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=218): time 0.02175/0.1646, allocations: 9.585 MB / 406.8 MB, free: 3.121 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.1647, allocations: 73.41 kB / 406.9 MB, free: 3.039 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003751/0.1684, allocations: 2.19 MB / 409 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003208/0.1687, allocations: 61.7 kB / 409.1 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001509/0.1703, allocations: 1.664 MB / 410.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008615/0.1711, allocations: 0.7513 MB / 411.5 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007567/0.1719, allocations: 428.4 kB / 411.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.172, allocations: 305.1 kB / 412.2 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00228/0.1743, allocations: 1.297 MB / 413.5 MB, free: 12.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00266/0.177, allocations: 1.774 MB / 415.3 MB, free: 10.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005052/0.182, allocations: 3.212 MB / 418.5 MB, free: 6.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.182, allocations: 4 kB / 418.5 MB, free: 6.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007819/0.1898, allocations: 4.034 MB / 422.6 MB, free: 2.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.1899, allocations: 20.08 kB / 422.6 MB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/0.1899, allocations: 12 kB / 422.6 MB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002978/0.1929, allocations: 0.8872 MB / 423.5 MB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/0.1952, allocations: 0.5188 MB / 424 MB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/0.2071, allocations: 8.999 MB / 433 MB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/0.2094, allocations: 119.9 kB / 433.1 MB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002872/0.2097, allocations: 88 kB / 433.2 MB, free: 7.906 MB / 398.1 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.002527/0.2123, allocations: 1.211 MB / 434.4 MB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006691/0.2129, allocations: 266.4 kB / 434.7 MB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007021/0.2199, allocations: 3.673 MB / 438.3 MB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.22, allocations: 20 kB / 438.4 MB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.22, allocations: 8 kB / 438.4 MB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/0.22, allocations: 7.969 kB / 438.4 MB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/0.2348, allocations: 7.097 MB / 445.5 MB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.2348, allocations: 4 kB / 445.5 MB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001851/0.2367, allocations: 391.8 kB / 445.9 MB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003323/0.24, allocations: 0.9213 MB / 446.8 MB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000258/0.2402, allocations: 59.97 kB / 446.8 MB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/0.2536, allocations: 10.48 MB / 457.3 MB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.2536, allocations: 8 kB / 457.3 MB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00959/0.2632, allocations: 5.469 MB / 462.8 MB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/0.265, allocations: 0.5451 MB / 463.3 MB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006248/0.2657, allocations: 55.98 kB / 463.4 MB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.2672, allocations: 111.9 kB / 463.5 MB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004904/0.2677, allocations: 189.6 kB / 463.7 MB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/0.2678, allocations: 59.98 kB / 463.7 MB, free: 8.715 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002666/0.2705, allocations: 1.489 MB / 465.2 MB, free: 7.207 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2705, allocations: 0 / 465.2 MB, free: 7.207 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002914/0.2734, allocations: 0.7929 MB / 466 MB, free: 6.414 MB / 430.1 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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000775/0.2742, allocations: 253.9 kB / 466.3 MB, free: 6.172 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006986/0.2812, allocations: 3.613 MB / 469.9 MB, free: 2.516 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.2812, allocations: 0 / 469.9 MB, free: 2.516 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004529/0.2857, allocations: 2.314 MB / 472.2 MB, free: 152 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1739/0.4596, allocations: 0.6048 MB / 472.8 MB, free: 129.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/0.4746, allocations: 7.613 MB / 480.4 MB, free: 127.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003674/0.4783, allocations: 2.234 MB / 482.7 MB, free: 127.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002494/0.4807, allocations: 0.6393 MB / 483.3 MB, free: 127 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000643/0.4814, allocations: 164.1 kB / 483.5 MB, free: 127 MB / 430.1 MB Notification: Performance of SimCode: time 1.373e-06/0.4814, allocations: 0 / 483.5 MB, free: 127 MB / 430.1 MB Notification: Performance of Templates: time 0.06437/0.5458, allocations: 40.13 MB / 0.5113 GB, free: 97.54 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.443968240171671]