Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.0009145/0.0009145, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.000942/0.000942, allocations: 165.8 kB / 24.99 MB, free: 8.793 MB / 18.57 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 0.9437/0.9437, allocations: 177.1 MB / 205.3 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 273.1 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.214e-05, allocations: 2.312 kB / 273.1 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1365/0.1366, allocations: 26.34 MB / 299.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01408/0.1506, allocations: 8.06 MB / 307.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004988/0.1556, allocations: 236.1 kB / 307.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01142/0.1671, allocations: 9.997 MB / 317.7 MB, free: 4.492 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008667/0.1757, allocations: 3.464 MB / 321.2 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003762/0.1795, allocations: 1.839 MB / 323 MB, free: 348 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01298/0.1925, allocations: 12.77 MB / 335.8 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02184/0.2143, allocations: 15.89 MB / 351.7 MB, free: 4.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01427/0.2286, allocations: 9.813 MB / 361.5 MB, free: 10.24 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009963/0.2385, allocations: 6.94 MB / 368.4 MB, free: 3.285 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003859/0.2424, allocations: 1.832 MB / 370.3 MB, free: 1.453 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004781/0.2472, allocations: 2.233 MB / 372.5 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003425/0.2506, allocations: 3.741 MB / 376.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007755/0.2584, allocations: 4.69 MB / 380.9 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01552/0.2739, allocations: 11.79 MB / 392.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.2739, allocations: 0 / 392.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2739, allocations: 0 / 392.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005048/0.2744, allocations: 0 / 392.7 MB, free: 10.95 MB / 346.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.02643/0.3008, allocations: 15.55 MB / 408.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3009, allocations: 8.031 kB / 408.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03001/0.3309, allocations: 10.38 MB / 418.7 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.3427, allocations: 7.402 MB / 426.1 MB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005994/0.3433, allocations: 0.8106 MB / 426.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00294/0.3462, allocations: 1.058 MB / 427.9 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2207/0.567, allocations: 9.717 MB / 437.7 MB, free: 110.5 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002698/0.5672, allocations: 15.5 kB / 437.7 MB, free: 110.5 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001294/0.5685, allocations: 444.7 kB / 438.1 MB, free: 110.5 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005785/0.5691, allocations: 0.6695 MB / 438.8 MB, free: 110.5 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01494/0.584, allocations: 5.628 MB / 444.4 MB, free: 110.4 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04762/0.6317, allocations: 46.2 MB / 490.6 MB, free: 77.76 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.6422, allocations: 11.12 MB / 0.49 GB, free: 68.64 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002252/0.6444, allocations: 1.721 MB / 0.4916 GB, free: 66.9 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/0.6447, allocations: 156 kB / 0.4918 GB, free: 66.75 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.199e-05/0.6448, allocations: 97.33 kB / 0.4919 GB, free: 66.64 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 8.055e-06/0.6448, allocations: 3.984 kB / 0.4919 GB, free: 66.64 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.02106/0.6658, allocations: 12.61 MB / 0.5042 GB, free: 54.27 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.6659, allocations: 111.5 kB / 0.5043 GB, free: 54.14 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003637/0.6695, allocations: 3.713 MB / 0.5079 GB, free: 50.54 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003133/0.6698, allocations: 113.7 kB / 0.508 GB, free: 50.43 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001576/0.6714, allocations: 4.946 MB / 0.5129 GB, free: 45.65 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009197/0.6723, allocations: 1.9 MB / 0.5147 GB, free: 43.77 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001288/0.6736, allocations: 1.508 MB / 0.5162 GB, free: 42.25 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.074e-05/0.6736, allocations: 480.7 kB / 0.5167 GB, free: 41.78 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.6754, allocations: 1.095 MB / 0.5177 GB, free: 40.68 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002757/0.6782, allocations: 4.739 MB / 0.5224 GB, free: 34.44 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005289/0.6835, allocations: 6.489 MB / 0.5287 GB, free: 26.38 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-05/0.6835, allocations: 24 kB / 0.5287 GB, free: 26.36 MB / 378.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.008311/0.6918, allocations: 6.332 MB / 0.5349 GB, free: 19.93 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.6919, allocations: 40 kB / 0.5349 GB, free: 19.89 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.458e-05/0.6919, allocations: 79.94 kB / 0.535 GB, free: 19.82 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002538/0.6945, allocations: 1.303 MB / 0.5363 GB, free: 18.51 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003246/0.6977, allocations: 1.615 MB / 0.5379 GB, free: 16.89 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007115/0.7048, allocations: 6.77 MB / 0.5445 GB, free: 10 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003112/0.7079, allocations: 391.5 kB / 0.5448 GB, free: 9.621 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004816/0.7084, allocations: 340 kB / 0.5452 GB, free: 9.289 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.002124/0.7105, allocations: 0.6113 MB / 0.5458 GB, free: 8.664 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008679/0.7114, allocations: 0.6337 MB / 0.5464 GB, free: 8.027 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006127/0.7175, allocations: 4.619 MB / 0.5509 GB, free: 3.305 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00446/0.722, allocations: 3.375 MB / 0.5542 GB, free: 15.84 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.722, allocations: 12 kB / 0.5542 GB, free: 15.83 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.293e-05/0.722, allocations: 27.89 kB / 0.5542 GB, free: 15.8 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02031/0.7424, allocations: 13.16 MB / 0.5671 GB, free: 2.586 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.7424, allocations: 4 kB / 0.5671 GB, free: 2.582 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/0.7444, allocations: 0.9403 MB / 0.568 GB, free: 1.641 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002454/0.7469, allocations: 1.164 MB / 0.5691 GB, free: 484 kB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003002/0.7472, allocations: 116 kB / 0.5693 GB, free: 368 kB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1259/0.8731, allocations: 6.184 MB / 0.5753 GB, free: 104.8 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.8731, allocations: 3.703 kB / 0.5753 GB, free: 104.8 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009569/0.8827, allocations: 5.668 MB / 0.5808 GB, free: 104 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001758/0.8845, allocations: 0.9979 MB / 0.5818 GB, free: 104 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005278/0.885, allocations: 92.42 kB / 0.5819 GB, free: 104 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.8863, allocations: 265.9 kB / 0.5821 GB, free: 104 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005663/0.8869, allocations: 374.8 kB / 0.5825 GB, free: 104 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002162/0.8871, allocations: 160.5 kB / 0.5827 GB, free: 104 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.002003/0.8891, allocations: 1.691 MB / 0.5843 GB, free: 103.8 MB / 394.8 MB Notification: Performance of sort global known variables: time 7e-08/0.8891, allocations: 0 / 0.5843 GB, free: 103.8 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004296/0.8934, allocations: 1.915 MB / 0.5862 GB, free: 103.8 MB / 394.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.0005861/0.894, allocations: 310.5 kB / 0.5865 GB, free: 103.7 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.006905/0.9009, allocations: 4.939 MB / 0.5913 GB, free: 102.9 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.9009, allocations: 0 / 0.5913 GB, free: 102.9 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00329/0.9042, allocations: 2.556 MB / 0.5938 GB, free: 102.5 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/0.9073, allocations: 1.057 MB / 0.5948 GB, free: 102.4 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/0.9269, allocations: 16.03 MB / 0.6105 GB, free: 93 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002343/0.9292, allocations: 2.984 MB / 0.6134 GB, free: 91.29 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.003366/0.9326, allocations: 1.93 MB / 0.6153 GB, free: 90.14 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008596/0.9334, allocations: 435 kB / 0.6157 GB, free: 89.75 MB / 394.8 MB Notification: Performance of SimCode: time 2.053e-06/0.9334, allocations: 0 / 0.6157 GB, free: 89.75 MB / 394.8 MB Notification: Performance of Templates: time 0.0794/1.013, allocations: 71.71 MB / 0.6857 GB, free: 21.62 MB / 394.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.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.1.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.932988439919427]