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.0009056/0.0009056, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.0008923/0.0008923, allocations: 152.2 kB / 24.81 MB, free: 9.281 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.9285/0.9285, allocations: 173.3 MB / 201.4 MB, free: 9.215 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.994e-06/1.994e-06, allocations: 0 / 268.4 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.124e-05, allocations: 2.312 kB / 268.4 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1527/0.1527, allocations: 25.28 MB / 293.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01701/0.1698, allocations: 7.914 MB / 301.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006521/0.1763, allocations: 237 kB / 301.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01323/0.1895, allocations: 9.701 MB / 311.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.1996, allocations: 3.445 MB / 315 MB, free: 8.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004456/0.204, allocations: 1.82 MB / 316.8 MB, free: 7.125 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0118/0.2158, allocations: 12.66 MB / 329.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02562/0.2414, allocations: 15.9 MB / 345.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01819/0.2596, allocations: 9.813 MB / 355.2 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01221/0.2718, allocations: 7.143 MB / 362.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005195/0.277, allocations: 1.832 MB / 364.2 MB, free: 10.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008765/0.2858, allocations: 2.21 MB / 366.4 MB, free: 8.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006016/0.2918, allocations: 3.733 MB / 370.1 MB, free: 4.328 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0113/0.3031, allocations: 4.679 MB / 374.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01878/0.3219, allocations: 11.76 MB / 386.6 MB, free: 3.852 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3219, allocations: 0 / 386.6 MB, free: 3.852 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3219, allocations: 3.938 kB / 386.6 MB, free: 3.848 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005863/0.3225, allocations: 4 kB / 386.6 MB, free: 3.844 MB / 330.7 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.02709/0.3496, allocations: 14.52 MB / 401.1 MB, free: 5.211 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.3496, allocations: 8.922 kB / 401.1 MB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02588/0.3755, allocations: 7.862 MB / 409 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0115/0.387, allocations: 6.894 MB / 415.9 MB, free: 6.336 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006262/0.3876, allocations: 0.8067 MB / 416.7 MB, free: 5.527 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003261/0.3909, allocations: 1.066 MB / 417.7 MB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02373/0.4146, allocations: 8.861 MB / 426.6 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003933/0.415, allocations: 15.89 kB / 426.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002974/0.418, allocations: 451.9 kB / 427.1 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005116/0.4185, allocations: 0.6672 MB / 427.7 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/0.4333, allocations: 4.349 MB / 432.1 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3254/0.7588, allocations: 45.26 MB / 477.3 MB, free: 72.52 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009628/0.7684, allocations: 9.292 MB / 486.6 MB, free: 70.82 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/0.7706, allocations: 1.475 MB / 488.1 MB, free: 70.23 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002602/0.7708, allocations: 171 kB / 488.3 MB, free: 70.07 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.7709, allocations: 93.44 kB / 488.4 MB, free: 69.97 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 7.464e-06/0.7709, allocations: 1.641 kB / 488.4 MB, free: 69.97 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.0188/0.7897, allocations: 10.41 MB / 498.8 MB, free: 59.88 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.7897, allocations: 103.5 kB / 498.9 MB, free: 59.76 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003948/0.7937, allocations: 3.642 MB / 0.4907 GB, free: 56.77 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007127/0.7944, allocations: 109.7 kB / 0.4908 GB, free: 56.66 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001965/0.7964, allocations: 4.956 MB / 0.4957 GB, free: 52.59 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001493/0.7979, allocations: 1.922 MB / 0.4976 GB, free: 50.82 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001413/0.7993, allocations: 1.515 MB / 0.499 GB, free: 49.43 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.7993, allocations: 480.8 kB / 0.4995 GB, free: 48.96 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.8006, allocations: 0.8335 MB / 0.5003 GB, free: 48.12 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/0.8028, allocations: 4.513 MB / 0.5047 GB, free: 42.31 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004434/0.8072, allocations: 6.027 MB / 0.5106 GB, free: 35.2 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-05/0.8073, allocations: 21.64 kB / 0.5106 GB, free: 35.18 MB / 378.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.006817/0.8141, allocations: 5.7 MB / 0.5162 GB, free: 29.93 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.8142, allocations: 36.38 kB / 0.5162 GB, free: 29.9 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.302e-05/0.8142, allocations: 84 kB / 0.5163 GB, free: 29.82 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002158/0.8164, allocations: 1.256 MB / 0.5175 GB, free: 28.57 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00295/0.8194, allocations: 1.473 MB / 0.519 GB, free: 27.21 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00604/0.8254, allocations: 6.407 MB / 0.5252 GB, free: 20.84 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003374/0.8288, allocations: 269.5 kB / 0.5255 GB, free: 20.58 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007754/0.8295, allocations: 272 kB / 0.5257 GB, free: 20.32 MB / 378.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.002821/0.8324, allocations: 0.6051 MB / 0.5263 GB, free: 19.81 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/0.8335, allocations: 0.6298 MB / 0.5269 GB, free: 19.18 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005227/0.8387, allocations: 4.172 MB / 0.531 GB, free: 14.96 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003236/0.842, allocations: 2.881 MB / 0.5338 GB, free: 12.04 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.842, allocations: 12 kB / 0.5338 GB, free: 12.03 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/0.842, allocations: 27.89 kB / 0.5339 GB, free: 12 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01762/0.8596, allocations: 12.5 MB / 0.5461 GB, free: 0.6875 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.8596, allocations: 3.562 kB / 0.5461 GB, free: 0.6875 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/0.8614, allocations: 0.8229 MB / 0.5469 GB, free: 15.91 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002178/0.8635, allocations: 1.108 MB / 0.548 GB, free: 14.81 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003077/0.8639, allocations: 112 kB / 0.5481 GB, free: 14.7 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006237/0.8701, allocations: 5.866 MB / 0.5538 GB, free: 8.852 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8701, allocations: 4 kB / 0.5538 GB, free: 8.848 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007447/0.8775, allocations: 4.932 MB / 0.5586 GB, free: 3.848 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002028/0.8796, allocations: 0.8996 MB / 0.5595 GB, free: 2.945 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005901/0.8802, allocations: 95.98 kB / 0.5596 GB, free: 2.852 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.8813, allocations: 140 kB / 0.5597 GB, free: 2.715 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005639/0.8818, allocations: 372.3 kB / 0.5601 GB, free: 2.348 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002059/0.882, allocations: 108 kB / 0.5602 GB, free: 2.242 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001798/0.8838, allocations: 1.559 MB / 0.5617 GB, free: 0.8477 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8838, allocations: 0 / 0.5617 GB, free: 0.8477 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.005022/0.8888, allocations: 1.922 MB / 0.5636 GB, free: 14.92 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.0005728/0.8894, allocations: 314.1 kB / 0.5639 GB, free: 14.66 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.00627/0.8957, allocations: 4.433 MB / 0.5682 GB, free: 10.49 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.8957, allocations: 0 / 0.5682 GB, free: 10.49 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002939/0.8986, allocations: 2.326 MB / 0.5705 GB, free: 8.285 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003156/0.9018, allocations: 1.024 MB / 0.5715 GB, free: 7.289 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1493/1.051, allocations: 15.9 MB / 0.587 GB, free: 110.4 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003566/1.055, allocations: 2.985 MB / 0.5899 GB, free: 110 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002901/1.058, allocations: 0.8065 MB / 0.5907 GB, free: 110 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/1.059, allocations: 1.161 MB / 0.5918 GB, free: 109.9 MB / 410.8 MB Notification: Performance of SimCode: time 1.413e-06/1.059, allocations: 0 / 0.5918 GB, free: 109.9 MB / 410.8 MB Notification: Performance of Templates: time 0.09727/1.157, allocations: 77.25 MB / 0.6673 GB, free: 49.62 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.94912734022364]