Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.001775/0.001775, allocations: 81.58 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.001894/0.001894, allocations: 151.1 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.493/1.493, allocations: 173.3 MB / 200.4 MB, free: 12.86 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.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 319 MB, free: 3.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.908e-05, allocations: 6.062 kB / 319 MB, free: 3.516 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01152/0.01155, allocations: 8.557 MB / 327.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00794/0.01949, allocations: 3.375 MB / 330.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.02121, allocations: 59.56 kB / 331 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.02331, allocations: 0.6504 MB / 331.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003181/0.02649, allocations: 0.9144 MB / 332.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.02788, allocations: 470.9 kB / 333 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003867/0.03175, allocations: 2.752 MB / 335.7 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.0334, allocations: 1.064 MB / 336.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002808/0.03621, allocations: 1.757 MB / 338.6 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.03846, allocations: 1.313 MB / 339.9 MB, free: 6.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004361/0.03889, allocations: 305.5 kB / 340.2 MB, free: 6.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.0401, allocations: 0.5536 MB / 340.7 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001254/0.04136, allocations: 1.059 MB / 341.8 MB, free: 4.723 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001427/0.04279, allocations: 0.9936 MB / 342.8 MB, free: 3.727 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004933/0.04772, allocations: 4.319 MB / 347.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.04772, allocations: 0 / 347.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.04772, allocations: 0 / 347.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.865e-05/0.04778, allocations: 0 / 347.1 MB, free: 15.39 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006049/0.05383, allocations: 3.142 MB / 350.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.05387, allocations: 12.92 kB / 350.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008078/0.05468, allocations: 335 kB / 350.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/0.0575, allocations: 1.645 MB / 352.2 MB, free: 10.17 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.05764, allocations: 152.4 kB / 352.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003232/0.05796, allocations: 208.3 kB / 352.6 MB, free: 9.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004978/0.06294, allocations: 2.798 MB / 355.4 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.478e-05/0.06299, allocations: 7.938 kB / 355.4 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/0.0632, allocations: 83.98 kB / 355.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/0.06334, allocations: 95.94 kB / 355.6 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004303/0.06765, allocations: 2.272 MB / 357.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01399/0.08164, allocations: 7.071 MB / 364.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003008/0.08465, allocations: 1.309 MB / 366.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002369/0.08702, allocations: 1.028 MB / 367.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002256/0.08724, allocations: 52.95 kB / 367.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.08729, allocations: 43.56 kB / 367.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=116): time 3.306e-06/0.08729, allocations: 0 / 367.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=132): time 0.01457/0.1019, allocations: 6.08 MB / 373.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.1019, allocations: 68.72 kB / 373.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002981/0.1049, allocations: 2.017 MB / 375.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.105, allocations: 45.7 kB / 375.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.1061, allocations: 1.132 MB / 376.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005689/0.1066, allocations: 479.8 kB / 377.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004952/0.1071, allocations: 239.6 kB / 377.4 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002995/0.1074, allocations: 357.9 kB / 377.7 MB, free: 268 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.109, allocations: 0.7613 MB / 378.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.1108, allocations: 1.009 MB / 379.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003351/0.1141, allocations: 1.865 MB / 381.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.1141, allocations: 4 kB / 381.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006054/0.1202, allocations: 2.738 MB / 384.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.1202, allocations: 8 kB / 384.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.1202, allocations: 8 kB / 384.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002235/0.1225, allocations: 0.7853 MB / 384.9 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.1238, allocations: 263.6 kB / 385.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/0.1379, allocations: 9.229 MB / 394.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.1393, allocations: 95.83 kB / 394.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.1395, allocations: 59.98 kB / 394.5 MB, free: 15.04 MB / 366.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.001631/0.1411, allocations: 0.7395 MB / 395.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005105/0.1416, allocations: 202.7 kB / 395.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005399/0.147, allocations: 2.46 MB / 397.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-05/0.1471, allocations: 20 kB / 398 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.1471, allocations: 4 kB / 398 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.1471, allocations: 8.156 kB / 398 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009969/0.1571, allocations: 4.381 MB / 402.3 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.1571, allocations: 0 / 402.3 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.1582, allocations: 215.6 kB / 402.6 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002059/0.1602, allocations: 0.6501 MB / 403.2 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/0.1603, allocations: 39.97 kB / 403.2 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/0.1715, allocations: 8.254 MB / 411.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.1715, allocations: 8 kB / 411.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007098/0.1786, allocations: 3.505 MB / 415 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009831/0.1795, allocations: 358.5 kB / 415.4 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/0.1798, allocations: 32 kB / 415.4 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.1808, allocations: 83.89 kB / 415.5 MB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003293/0.1811, allocations: 108.7 kB / 415.6 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/0.1813, allocations: 39.97 kB / 415.6 MB, free: 9.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002385/0.1837, allocations: 1.41 MB / 417 MB, free: 8.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1837, allocations: 0 / 417 MB, free: 8.086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001924/0.1856, allocations: 0.5234 MB / 417.6 MB, free: 7.562 MB / 382.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.001834/0.1874, allocations: 492.9 kB / 418 MB, free: 7.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004985/0.1924, allocations: 2.295 MB / 420.3 MB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1924, allocations: 8.125 kB / 420.3 MB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003071/0.1955, allocations: 1.455 MB / 421.8 MB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.1977, allocations: 389 kB / 422.2 MB, free: 3.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009117/0.2068, allocations: 4.994 MB / 427.2 MB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/0.2087, allocations: 1.379 MB / 428.6 MB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001226/0.2099, allocations: 370.6 kB / 428.9 MB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004649/0.2104, allocations: 128.5 kB / 429 MB, free: 12.06 MB / 398.1 MB Notification: Performance of SimCode: time 1.412e-06/0.2104, allocations: 0 / 429 MB, free: 12.06 MB / 398.1 MB Notification: Performance of Templates: time 0.05604/0.2664, allocations: 29.36 MB / 458.4 MB, free: 14.99 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.494444381445646]