Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.001813/0.001813, allocations: 73.41 kB / 21.24 MB, free: 0.5547 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.002204/0.002204, allocations: 162.5 kB / 24.5 MB, free: 3.848 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.468/1.468, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.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.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 50.75 kB / 325.6 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09438/0.09598, allocations: 53.35 MB / 379 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01248/0.1085, allocations: 8.61 MB / 387.6 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007467/0.1159, allocations: 3.561 MB / 391.1 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.1173, allocations: 59.62 kB / 391.2 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.1194, allocations: 0.6521 MB / 391.8 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002918/0.1223, allocations: 0.9206 MB / 392.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.1235, allocations: 479 kB / 393.2 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003524/0.127, allocations: 2.681 MB / 395.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.1286, allocations: 1.066 MB / 397 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.1306, allocations: 1.23 MB / 398.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002419/0.133, allocations: 1.463 MB / 399.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005076/0.1335, allocations: 304 kB / 400 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.1347, allocations: 0.5464 MB / 400.5 MB, free: 9.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00119/0.1359, allocations: 1.052 MB / 401.6 MB, free: 8.875 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.1374, allocations: 1.194 MB / 402.8 MB, free: 7.676 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005182/0.1426, allocations: 4.343 MB / 407.1 MB, free: 3.316 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1426, allocations: 0 / 407.1 MB, free: 3.316 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1426, allocations: 0 / 407.1 MB, free: 3.316 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001038/0.1427, allocations: 4 kB / 407.1 MB, free: 3.312 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007078/0.1498, allocations: 3.185 MB / 410.3 MB, free: 76 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1498, allocations: 12.03 kB / 410.3 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.151, allocations: 374.9 kB / 410.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003103/0.1541, allocations: 1.666 MB / 412.3 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.1542, allocations: 148 kB / 412.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000358/0.1546, allocations: 207.9 kB / 412.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004934/0.1595, allocations: 2.806 MB / 415.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.776e-05/0.1596, allocations: 7.953 kB / 415.5 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/0.1598, allocations: 80 kB / 415.6 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/0.1599, allocations: 95.92 kB / 415.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004297/0.1642, allocations: 2.272 MB / 417.9 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/0.1773, allocations: 7.067 MB / 425 MB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/0.1803, allocations: 1.315 MB / 426.3 MB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002133/0.1825, allocations: 1.023 MB / 427.3 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002098/0.1827, allocations: 48.97 kB / 427.4 MB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.1827, allocations: 47.5 kB / 427.4 MB, free: 14.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 3.156e-06/0.1827, allocations: 0 / 427.4 MB, free: 14.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=132): time 0.01402/0.1967, allocations: 6.092 MB / 433.5 MB, free: 8.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.1968, allocations: 68.7 kB / 433.6 MB, free: 8.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002973/0.1998, allocations: 2.039 MB / 435.6 MB, free: 6.316 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.1999, allocations: 49.64 kB / 435.7 MB, free: 6.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000954/0.2008, allocations: 1.141 MB / 436.8 MB, free: 5.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004444/0.2013, allocations: 483.8 kB / 437.3 MB, free: 4.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004293/0.2017, allocations: 243.5 kB / 437.5 MB, free: 4.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.2019, allocations: 361.9 kB / 437.9 MB, free: 4.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.2034, allocations: 0.7613 MB / 438.6 MB, free: 3.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/0.2052, allocations: 1.013 MB / 439.7 MB, free: 2.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003156/0.2083, allocations: 1.861 MB / 441.5 MB, free: 220 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.2083, allocations: 7.938 kB / 441.5 MB, free: 212 kB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00558/0.2139, allocations: 2.739 MB / 444.3 MB, free: 13.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.214, allocations: 8 kB / 444.3 MB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.214, allocations: 8 kB / 444.3 MB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002106/0.2161, allocations: 0.7814 MB / 445.1 MB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.2173, allocations: 271.6 kB / 445.3 MB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01333/0.2306, allocations: 9.244 MB / 454.6 MB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.2319, allocations: 87.89 kB / 454.7 MB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.2321, allocations: 55.98 kB / 454.7 MB, free: 2.789 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001256/0.2333, allocations: 0.7433 MB / 455.5 MB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003907/0.2337, allocations: 198.7 kB / 455.6 MB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004823/0.2386, allocations: 2.468 MB / 458.1 MB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.205e-05/0.2386, allocations: 19.98 kB / 458.1 MB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.2386, allocations: 4.188 kB / 458.1 MB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.2386, allocations: 11.92 kB / 458.1 MB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008943/0.2476, allocations: 4.385 MB / 462.5 MB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2476, allocations: 0 / 462.5 MB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.2486, allocations: 219.6 kB / 462.7 MB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/0.2505, allocations: 0.6472 MB / 463.4 MB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.2506, allocations: 39.97 kB / 463.4 MB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/0.2609, allocations: 8.259 MB / 471.7 MB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.2609, allocations: 7.969 kB / 471.7 MB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1912/0.4521, allocations: 3.508 MB / 475.2 MB, free: 83.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.4533, allocations: 359.7 kB / 475.6 MB, free: 83.22 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.4535, allocations: 30.84 kB / 475.6 MB, free: 83.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009661/0.4545, allocations: 86.06 kB / 475.7 MB, free: 83.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/0.4548, allocations: 109.9 kB / 475.8 MB, free: 83.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-05/0.4549, allocations: 42.17 kB / 475.8 MB, free: 83.22 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001907/0.4568, allocations: 1.424 MB / 477.2 MB, free: 83.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4568, allocations: 0 / 477.2 MB, free: 83.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001843/0.4586, allocations: 0.5212 MB / 477.8 MB, free: 83.11 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001674/0.4603, allocations: 484.5 kB / 478.2 MB, free: 83 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004163/0.4645, allocations: 2.305 MB / 480.5 MB, free: 82.42 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4645, allocations: 1.375 kB / 480.5 MB, free: 82.42 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002457/0.4669, allocations: 1.458 MB / 482 MB, free: 81.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.4689, allocations: 393.6 kB / 482.4 MB, free: 81.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007382/0.4763, allocations: 5.195 MB / 487.6 MB, free: 79.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.4776, allocations: 1.389 MB / 489 MB, free: 78.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001021/0.4786, allocations: 379.7 kB / 489.3 MB, free: 78.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/0.479, allocations: 128.8 kB / 489.5 MB, free: 78.73 MB / 430.1 MB Notification: Performance of SimCode: time 9.41e-07/0.479, allocations: 0 / 489.5 MB, free: 78.73 MB / 430.1 MB Notification: Performance of Templates: time 0.04002/0.519, allocations: 29.62 MB / 0.5069 GB, free: 53.04 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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: 6.446690624929033]