Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002292/0.002292, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002605/0.002605, allocations: 215.8 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 51.92 kB / 378.3 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3527, allocations: 53.36 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01684/0.3695, allocations: 11.34 MB / 443 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.3815, allocations: 4.031 MB / 447 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003736/0.3853, allocations: 99.38 kB / 447.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004415/0.3897, allocations: 0.9689 MB / 448.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006711/0.3964, allocations: 1.243 MB / 449.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.3987, allocations: 0.5266 MB / 449.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008218/0.4069, allocations: 4.657 MB / 454.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004735/0.4117, allocations: 1.999 MB / 456.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006064/0.4177, allocations: 2.193 MB / 458.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006448/0.4242, allocations: 2.545 MB / 461.2 MB, free: 8.965 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001862/0.4261, allocations: 0.5508 MB / 461.8 MB, free: 8.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.4284, allocations: 0.6521 MB / 462.4 MB, free: 7.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002492/0.4309, allocations: 1.531 MB / 464 MB, free: 6.227 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004672/0.4356, allocations: 2.019 MB / 466 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.4462, allocations: 7.506 MB / 473.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4462, allocations: 0 / 473.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4462, allocations: 3.938 kB / 473.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002497/0.4464, allocations: 0 / 473.5 MB, free: 12.66 MB / 382.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.01399/0.4604, allocations: 4.74 MB / 478.2 MB, free: 7.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.4605, allocations: 16.03 kB / 478.2 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/0.4624, allocations: 0.5487 MB / 478.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005755/0.4682, allocations: 2.552 MB / 481.3 MB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002881/0.4685, allocations: 267 kB / 481.6 MB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006075/0.4691, allocations: 351.9 kB / 482 MB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/0.4795, allocations: 5.28 MB / 487.2 MB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.505e-05/0.4796, allocations: 7.891 kB / 487.2 MB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003397/0.48, allocations: 144 kB / 487.4 MB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002139/0.4802, allocations: 183 kB / 487.6 MB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007923/0.4881, allocations: 4.291 MB / 491.8 MB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02663/0.5147, allocations: 12.85 MB / 0.4929 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004471/0.5192, allocations: 2.695 MB / 0.4955 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003354/0.5225, allocations: 1.866 MB / 0.4973 GB, free: 8.344 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002768/0.5228, allocations: 57.97 kB / 0.4974 GB, free: 8.285 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.303e-05/0.5229, allocations: 60.5 kB / 0.4974 GB, free: 8.219 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 5.641e-06/0.5229, allocations: 3.938 kB / 0.4974 GB, free: 8.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02152/0.5444, allocations: 9.581 MB / 0.5068 GB, free: 14.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.5445, allocations: 73.41 kB / 0.5069 GB, free: 14.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003935/0.5484, allocations: 2.203 MB / 0.509 GB, free: 12.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002438/0.5487, allocations: 61.7 kB / 0.5091 GB, free: 12.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001629/0.5503, allocations: 1.672 MB / 0.5107 GB, free: 10.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008874/0.5512, allocations: 0.7708 MB / 0.5115 GB, free: 9.762 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007646/0.552, allocations: 420.4 kB / 0.5119 GB, free: 9.344 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5521, allocations: 301.1 kB / 0.5122 GB, free: 9.047 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/0.5544, allocations: 1.297 MB / 0.5134 GB, free: 7.746 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002616/0.557, allocations: 1.778 MB / 0.5152 GB, free: 5.781 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005059/0.562, allocations: 3.211 MB / 0.5183 GB, free: 2.387 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.138e-06/0.562, allocations: 4 kB / 0.5183 GB, free: 2.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007707/0.5697, allocations: 4.057 MB / 0.5223 GB, free: 14.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.5698, allocations: 12 kB / 0.5223 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.202e-05/0.5698, allocations: 12 kB / 0.5223 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00292/0.5727, allocations: 0.8795 MB / 0.5231 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/0.5749, allocations: 0.5227 MB / 0.5237 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/0.5866, allocations: 8.998 MB / 0.5324 GB, free: 3.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/0.5886, allocations: 123.8 kB / 0.5326 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003258/0.5889, allocations: 88 kB / 0.5326 GB, free: 3.348 MB / 446.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.002678/0.5916, allocations: 1.219 MB / 0.5338 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008663/0.5925, allocations: 262.3 kB / 0.5341 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2401/0.8326, allocations: 3.671 MB / 0.5377 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.8326, allocations: 24.56 kB / 0.5377 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.8326, allocations: 7.406 kB / 0.5377 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.749e-05/0.8327, allocations: 10.59 kB / 0.5377 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.8451, allocations: 7.106 MB / 0.5446 GB, free: 97.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.8451, allocations: 0 / 0.5446 GB, free: 97.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.8465, allocations: 382.9 kB / 0.545 GB, free: 97.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002511/0.849, allocations: 0.9317 MB / 0.5459 GB, free: 97.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.8492, allocations: 49.84 kB / 0.546 GB, free: 97.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008468/0.8576, allocations: 10.49 MB / 0.5562 GB, free: 89.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8576, allocations: 4 kB / 0.5562 GB, free: 89.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007/0.8646, allocations: 5.477 MB / 0.5616 GB, free: 83.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/0.8663, allocations: 0.5434 MB / 0.5621 GB, free: 83.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003818/0.8667, allocations: 51.98 kB / 0.5621 GB, free: 83.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.868, allocations: 114.8 kB / 0.5623 GB, free: 83.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003869/0.8684, allocations: 193.6 kB / 0.5624 GB, free: 83.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.8685, allocations: 63.98 kB / 0.5625 GB, free: 83.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00203/0.8705, allocations: 1.496 MB / 0.564 GB, free: 81.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8705, allocations: 0 / 0.564 GB, free: 81.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002377/0.8729, allocations: 0.7924 MB / 0.5647 GB, free: 80.82 MB / 446.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.0005445/0.8734, allocations: 238 kB / 0.565 GB, free: 80.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004865/0.8783, allocations: 3.616 MB / 0.5685 GB, free: 76.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.8783, allocations: 7.938 kB / 0.5685 GB, free: 76.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003073/0.8814, allocations: 2.312 MB / 0.5708 GB, free: 74.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/0.8845, allocations: 0.6287 MB / 0.5714 GB, free: 73.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.895, allocations: 7.859 MB / 0.5791 GB, free: 66.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001796/0.8968, allocations: 2.235 MB / 0.5812 GB, free: 63.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001775/0.8986, allocations: 0.6452 MB / 0.5819 GB, free: 63.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/0.8991, allocations: 159.4 kB / 0.582 GB, free: 63.04 MB / 446.1 MB Notification: Performance of SimCode: time 6.72e-07/0.8991, allocations: 0 / 0.582 GB, free: 63.04 MB / 446.1 MB Notification: Performance of Templates: time 0.05935/0.9585, allocations: 44.98 MB / 0.6259 GB, free: 18.68 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 8.019638184458017]