Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.001283/0.001283, allocations: 68.08 kB / 21.69 MB, free: 2.855 MB / 18.57 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.0009894/0.0009894, allocations: 144 kB / 24.97 MB, free: 8.777 MB / 18.57 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 0.8666/0.8666, allocations: 173.4 MB / 201.5 MB, free: 8.457 MB / 186.7 MB " [Timeout remaining time 179] 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 268.1 MB, free: 10.35 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.682e-05, allocations: 2.312 kB / 268.1 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02052/0.02054, allocations: 26.3 MB / 294.4 MB, free: 15.94 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01382/0.03436, allocations: 7.96 MB / 302.4 MB, free: 7.969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002736/0.0371, allocations: 238.8 kB / 302.6 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009727/0.04683, allocations: 9.987 MB / 312.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005403/0.05223, allocations: 3.449 MB / 316 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.05468, allocations: 1.835 MB / 317.9 MB, free: 8.398 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01028/0.06496, allocations: 12.65 MB / 330.5 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2199/0.2849, allocations: 15.9 MB / 346.4 MB, free: 23.11 MB / 314.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008335/0.2932, allocations: 9.811 MB / 356.2 MB, free: 23.11 MB / 314.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005114/0.2983, allocations: 6.936 MB / 363.2 MB, free: 23.11 MB / 314.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001617/0.3, allocations: 1.833 MB / 365 MB, free: 23.11 MB / 314.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.3019, allocations: 2.208 MB / 367.2 MB, free: 23.11 MB / 314.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001571/0.3035, allocations: 3.74 MB / 371 MB, free: 22.01 MB / 314.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003118/0.3066, allocations: 4.688 MB / 375.6 MB, free: 20.15 MB / 314.8 MB Notification: Performance of NFConvertDAE.convert: time 0.007672/0.3143, allocations: 11.76 MB / 387.4 MB, free: 12.63 MB / 314.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3143, allocations: 1.156 kB / 387.4 MB, free: 12.63 MB / 314.8 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3143, allocations: 0 / 387.4 MB, free: 12.63 MB / 314.8 MB Notification: Performance of Transformations before backend: time 0.0002066/0.3145, allocations: 0 / 387.4 MB, free: 12.63 MB / 314.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.01835/0.3329, allocations: 15.53 MB / 402.9 MB, free: 13.16 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3329, allocations: 8.031 kB / 402.9 MB, free: 13.15 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02782/0.3607, allocations: 10.48 MB / 413.4 MB, free: 2.766 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00962/0.3703, allocations: 7.383 MB / 420.8 MB, free: 11.62 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004014/0.3708, allocations: 0.8042 MB / 421.6 MB, free: 10.82 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001422/0.3722, allocations: 1.068 MB / 422.7 MB, free: 9.77 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01463/0.3868, allocations: 9.672 MB / 432.3 MB, free: 28 kB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001673/0.387, allocations: 23.89 kB / 432.4 MB, free: 4 kB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008353/0.3878, allocations: 450.7 kB / 432.8 MB, free: 15.59 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004858/0.3883, allocations: 0.6743 MB / 433.5 MB, free: 14.92 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/0.3999, allocations: 5.57 MB / 439.1 MB, free: 9.344 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04675/0.4466, allocations: 46.05 MB / 485.1 MB, free: 11.18 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01201/0.4586, allocations: 11.07 MB / 496.2 MB, free: 2.102 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0025/0.4611, allocations: 1.725 MB / 497.9 MB, free: 364 kB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002566/0.4614, allocations: 132 kB / 498 MB, free: 228 kB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.772e-05/0.4614, allocations: 93.05 kB / 498.1 MB, free: 124 kB / 410.8 MB Notification: Performance of pre-optimization done (n=518): time 6.733e-06/0.4614, allocations: 0 / 498.1 MB, free: 124 kB / 410.8 MB Notification: Performance of matching and sorting (n=524): time 0.1417/0.6031, allocations: 12.55 MB / 0.4987 GB, free: 138 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.6032, allocations: 104.4 kB / 0.4988 GB, free: 137.9 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003863/0.607, allocations: 3.698 MB / 0.5024 GB, free: 137.5 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002176/0.6073, allocations: 110.4 kB / 0.5025 GB, free: 137.5 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001787/0.609, allocations: 4.929 MB / 0.5073 GB, free: 135.4 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000871/0.6099, allocations: 1.907 MB / 0.5092 GB, free: 134.1 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00132/0.6112, allocations: 1.498 MB / 0.5107 GB, free: 134 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.696e-05/0.6113, allocations: 480.7 kB / 0.5111 GB, free: 133.6 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.613, allocations: 1.086 MB / 0.5122 GB, free: 133.5 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/0.6155, allocations: 4.744 MB / 0.5168 GB, free: 129.2 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004823/0.6204, allocations: 6.461 MB / 0.5231 GB, free: 124.5 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.628e-05/0.6204, allocations: 18.94 kB / 0.5231 GB, free: 124.5 MB / 410.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.007642/0.628, allocations: 6.302 MB / 0.5293 GB, free: 120.2 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.6281, allocations: 40 kB / 0.5293 GB, free: 120.1 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.418e-05/0.6281, allocations: 76 kB / 0.5294 GB, free: 120 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002464/0.6306, allocations: 1.307 MB / 0.5307 GB, free: 119.1 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002962/0.6336, allocations: 1.602 MB / 0.5322 GB, free: 117.7 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007122/0.6407, allocations: 6.769 MB / 0.5389 GB, free: 111.5 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/0.6431, allocations: 402.5 kB / 0.5392 GB, free: 111.2 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000307/0.6434, allocations: 335.2 kB / 0.5396 GB, free: 110.9 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002082/0.6455, allocations: 0.6035 MB / 0.5401 GB, free: 110.3 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000773/0.6463, allocations: 0.6335 MB / 0.5408 GB, free: 109.7 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006331/0.6526, allocations: 4.631 MB / 0.5453 GB, free: 105.8 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004249/0.6568, allocations: 3.347 MB / 0.5486 GB, free: 102.8 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.6568, allocations: 12 kB / 0.5486 GB, free: 102.8 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.734e-05/0.6569, allocations: 26.91 kB / 0.5486 GB, free: 102.8 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/0.6725, allocations: 13.12 MB / 0.5614 GB, free: 90.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.6725, allocations: 12 kB / 0.5614 GB, free: 90.19 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/0.6743, allocations: 0.9322 MB / 0.5623 GB, free: 89.26 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002093/0.6764, allocations: 1.168 MB / 0.5635 GB, free: 88.08 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002398/0.6767, allocations: 112 kB / 0.5636 GB, free: 87.97 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006033/0.6827, allocations: 6.188 MB / 0.5696 GB, free: 81.67 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6827, allocations: 4 kB / 0.5696 GB, free: 81.67 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008051/0.6908, allocations: 5.626 MB / 0.5751 GB, free: 75.83 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/0.6925, allocations: 0.9963 MB / 0.5761 GB, free: 74.83 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004859/0.6929, allocations: 98.53 kB / 0.5762 GB, free: 74.74 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/0.6945, allocations: 271.8 kB / 0.5764 GB, free: 74.47 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005894/0.6951, allocations: 368.2 kB / 0.5768 GB, free: 74.11 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002548/0.6953, allocations: 148 kB / 0.5769 GB, free: 73.96 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002253/0.6976, allocations: 1.688 MB / 0.5786 GB, free: 72.29 MB / 410.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6976, allocations: 0 / 0.5786 GB, free: 72.29 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005123/0.7027, allocations: 1.914 MB / 0.5805 GB, free: 70.38 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.port_p.reference.gamma,speed.phi) * 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 (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006021/0.7033, allocations: 320.9 kB / 0.5808 GB, free: 70.07 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.007743/0.711, allocations: 4.909 MB / 0.5856 GB, free: 65.08 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.7111, allocations: 0 / 0.5856 GB, free: 65.08 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003639/0.7147, allocations: 2.555 MB / 0.588 GB, free: 62.5 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003128/0.7178, allocations: 1.03 MB / 0.5891 GB, free: 61.5 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02122/0.739, allocations: 16.09 MB / 0.6048 GB, free: 45.22 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002242/0.7413, allocations: 2.982 MB / 0.6077 GB, free: 42.2 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003871/0.7452, allocations: 1.933 MB / 0.6096 GB, free: 40.26 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/0.7462, allocations: 404.4 kB / 0.61 GB, free: 39.86 MB / 410.8 MB Notification: Performance of SimCode: time 1.322e-06/0.7462, allocations: 0 / 0.61 GB, free: 39.86 MB / 410.8 MB Notification: Performance of Templates: time 0.2054/0.9516, allocations: 70.73 MB / 0.679 GB, free: 127.9 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.819986002985388]