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.002553/0.002553, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002771/0.002771, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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.598/1.598, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.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_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.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_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 272.2 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.941e-05, allocations: 9.125 kB / 272.3 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.02324/0.02327, allocations: 12.78 MB / 285 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.03564, allocations: 4.206 MB / 289.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002674/0.03832, allocations: 103.3 kB / 289.3 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.118/0.1563, allocations: 0.9641 MB / 290.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004111/0.1604, allocations: 1.308 MB / 291.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.1616, allocations: 0.5369 MB / 292.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004746/0.1664, allocations: 4.844 MB / 297 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00257/0.1689, allocations: 2.027 MB / 299 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005601/0.1745, allocations: 3.249 MB / 302.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003689/0.1782, allocations: 2.501 MB / 304.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001/0.1792, allocations: 0.5553 MB / 305.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.1807, allocations: 0.6555 MB / 306 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.1817, allocations: 1.616 MB / 307.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001791/0.1835, allocations: 1.744 MB / 309.3 MB, free: 9.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005158/0.1887, allocations: 7.628 MB / 317 MB, free: 2.789 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1887, allocations: 0 / 317 MB, free: 2.789 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1887, allocations: 0 / 317 MB, free: 2.789 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001068/0.1888, allocations: 3.5 kB / 317 MB, free: 2.789 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.009259/0.198, allocations: 5.356 MB / 322.3 MB, free: 13.39 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1981, allocations: 11.98 kB / 322.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/0.2002, allocations: 0.8401 MB / 323.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005394/0.2056, allocations: 2.443 MB / 325.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/0.2059, allocations: 269.5 kB / 325.9 MB, free: 9.898 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006237/0.2065, allocations: 359.4 kB / 326.2 MB, free: 9.551 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009915/0.2164, allocations: 5.045 MB / 331.3 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-05/0.2165, allocations: 4.609 kB / 331.3 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003654/0.2168, allocations: 156.2 kB / 331.4 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002338/0.2171, allocations: 191.1 kB / 331.6 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007227/0.2243, allocations: 3.484 MB / 335.1 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03249/0.2568, allocations: 18.21 MB / 353.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004112/0.2609, allocations: 2.234 MB / 355.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003171/0.2641, allocations: 1.517 MB / 357.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003058/0.2644, allocations: 73.95 kB / 357.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.783e-05/0.2645, allocations: 59.39 kB / 357.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=198): time 4.478e-06/0.2645, allocations: 0 / 357.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=218): time 0.0177/0.2822, allocations: 7.131 MB / 364.3 MB, free: 2.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.2822, allocations: 73.41 kB / 364.4 MB, free: 2.898 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004375/0.2866, allocations: 2.603 MB / 367 MB, free: 260 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002037/0.2868, allocations: 61.7 kB / 367.1 MB, free: 192 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001803/0.2886, allocations: 1.894 MB / 369 MB, free: 14.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009494/0.2896, allocations: 0.8396 MB / 369.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000924/0.2905, allocations: 0.5025 MB / 370.3 MB, free: 12.94 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.2907, allocations: 484.7 kB / 370.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.2925, allocations: 0.8746 MB / 371.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00259/0.2951, allocations: 1.615 MB / 373.3 MB, free: 9.719 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00495/0.3001, allocations: 2.753 MB / 376 MB, free: 6.773 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/0.3001, allocations: 4 kB / 376 MB, free: 6.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006993/0.3071, allocations: 3.192 MB / 379.2 MB, free: 3.648 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.3071, allocations: 18.19 kB / 379.2 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/0.3071, allocations: 16 kB / 379.2 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003129/0.3103, allocations: 0.7174 MB / 380 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/0.3127, allocations: 0.5221 MB / 380.5 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/0.3245, allocations: 9.082 MB / 389.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.3266, allocations: 119.8 kB / 389.7 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/0.3268, allocations: 91.94 kB / 389.8 MB, free: 8.777 MB / 346.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.002082/0.3289, allocations: 1.013 MB / 390.8 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008155/0.3297, allocations: 334.3 kB / 391.1 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006046/0.3358, allocations: 2.739 MB / 393.9 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.3358, allocations: 24 kB / 393.9 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/0.3358, allocations: 8 kB / 393.9 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.461e-05/0.3359, allocations: 7.969 kB / 393.9 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/0.3518, allocations: 7.036 MB / 400.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.3518, allocations: 4 kB / 400.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/0.3535, allocations: 389.3 kB / 401.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003382/0.3569, allocations: 0.7729 MB / 402.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002557/0.3572, allocations: 55.97 kB / 402.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/0.3705, allocations: 10.71 MB / 412.9 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3705, allocations: 4 kB / 412.9 MB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008163/0.3787, allocations: 3.978 MB / 416.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001945/0.3806, allocations: 0.4982 MB / 417.3 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000395/0.381, allocations: 51.98 kB / 417.4 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.3823, allocations: 115.9 kB / 417.5 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004849/0.3828, allocations: 196.8 kB / 417.7 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/0.383, allocations: 55.98 kB / 417.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002585/0.3855, allocations: 1.52 MB / 419.3 MB, free: 10.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3855, allocations: 0 / 419.3 MB, free: 10.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002514/0.3881, allocations: 0.7968 MB / 420.1 MB, free: 9.961 MB / 378.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%), (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.0006308/0.3887, allocations: 241.7 kB / 420.3 MB, free: 9.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00583/0.3945, allocations: 3.164 MB / 423.5 MB, free: 6.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.3945, allocations: 0 / 423.5 MB, free: 6.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003938/0.3985, allocations: 2.22 MB / 425.7 MB, free: 4.273 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/0.4015, allocations: 0.6629 MB / 426.3 MB, free: 3.637 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1431/0.5445, allocations: 7.028 MB / 433.4 MB, free: 111.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004068/0.5486, allocations: 2.079 MB / 435.5 MB, free: 111.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002409/0.551, allocations: 0.5072 MB / 436 MB, free: 111.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006808/0.5517, allocations: 169.2 kB / 436.1 MB, free: 111.4 MB / 378.7 MB Notification: Performance of SimCode: time 2.294e-06/0.5517, allocations: 0 / 436.1 MB, free: 111.4 MB / 378.7 MB Notification: Performance of Templates: time 0.06765/0.6194, allocations: 40.44 MB / 476.6 MB, free: 84.88 MB / 378.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.064240728970617]