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.0008819/0.0008819, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0008984/0.0008984, allocations: 170.8 kB / 24.91 MB, free: 9.152 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.8728/0.8728, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.223e-06/1.223e-06, allocations: 0 / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.179e-05, allocations: 2.312 kB / 273.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1191/0.1191, allocations: 25.34 MB / 298.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01325/0.1324, allocations: 8.44 MB / 307.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002576/0.135, allocations: 236.7 kB / 307.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008256/0.1432, allocations: 9.992 MB / 317.5 MB, free: 4.469 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004784/0.148, allocations: 3.473 MB / 321 MB, free: 1.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002642/0.1507, allocations: 1.841 MB / 322.8 MB, free: 292 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008159/0.1588, allocations: 12.79 MB / 335.6 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0139/0.1727, allocations: 16.36 MB / 351.9 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007488/0.1802, allocations: 9.856 MB / 361.8 MB, free: 9.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005501/0.1857, allocations: 7.221 MB / 369 MB, free: 2.355 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001344/0.1871, allocations: 1.832 MB / 370.9 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.1895, allocations: 2.229 MB / 373.1 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001937/0.1914, allocations: 3.729 MB / 376.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003645/0.1951, allocations: 4.686 MB / 381.5 MB, free: 5.859 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008935/0.204, allocations: 11.77 MB / 393.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.204, allocations: 4 kB / 393.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.204, allocations: 0 / 393.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000149/0.2042, allocations: 4 kB / 393.3 MB, free: 10.05 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.01686/0.221, allocations: 13.65 MB / 406.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.221, allocations: 8.031 kB / 406.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02192/0.243, allocations: 8.257 MB / 415.2 MB, free: 4.031 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006767/0.2497, allocations: 4.019 MB / 419.2 MB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003766/0.2501, allocations: 0.8106 MB / 420 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001205/0.2513, allocations: 1.066 MB / 421.1 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/0.2622, allocations: 9.101 MB / 430.2 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001619/0.2623, allocations: 15.92 kB / 430.2 MB, free: 4.797 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007844/0.2631, allocations: 451.9 kB / 430.6 MB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004318/0.2636, allocations: 0.6672 MB / 431.3 MB, free: 3.688 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2041/0.4676, allocations: 4.795 MB / 436.1 MB, free: 84 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03889/0.5065, allocations: 34.68 MB / 470.8 MB, free: 71.64 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007293/0.5138, allocations: 7.081 MB / 477.9 MB, free: 68.45 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.515, allocations: 1.289 MB / 479.2 MB, free: 67.32 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002429/0.5153, allocations: 159.9 kB / 479.3 MB, free: 67.19 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.5153, allocations: 90.62 kB / 479.4 MB, free: 67.09 MB / 378.8 MB Notification: Performance of pre-optimization done (n=518): time 7.324e-06/0.5153, allocations: 0.7656 kB / 479.4 MB, free: 67.09 MB / 378.8 MB Notification: Performance of matching and sorting (n=524): time 0.01552/0.5309, allocations: 9.416 MB / 488.8 MB, free: 58.9 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.5309, allocations: 111.5 kB / 488.9 MB, free: 58.78 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.5327, allocations: 2.656 MB / 491.6 MB, free: 56.77 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.5329, allocations: 110.7 kB / 491.7 MB, free: 56.66 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009291/0.5339, allocations: 4.275 MB / 496 MB, free: 52.9 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006017/0.5345, allocations: 1.848 MB / 497.8 MB, free: 51.16 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/0.5355, allocations: 1.256 MB / 499.1 MB, free: 50.04 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.177e-05/0.5356, allocations: 301.1 kB / 499.4 MB, free: 49.74 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.5366, allocations: 0.9603 MB / 0.4886 GB, free: 48.78 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.538, allocations: 3.194 MB / 0.4917 GB, free: 44.69 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002957/0.541, allocations: 4.853 MB / 0.4965 GB, free: 39.16 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.168e-05/0.541, allocations: 20 kB / 0.4965 GB, free: 39.14 MB / 378.8 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.004682/0.5457, allocations: 4.643 MB / 0.501 GB, free: 34.98 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.5457, allocations: 40 kB / 0.5011 GB, free: 34.95 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.215e-05/0.5457, allocations: 79.94 kB / 0.5011 GB, free: 34.87 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001867/0.5476, allocations: 1.198 MB / 0.5023 GB, free: 33.68 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002518/0.5501, allocations: 1.462 MB / 0.5037 GB, free: 32.32 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004784/0.5549, allocations: 5.041 MB / 0.5087 GB, free: 27.35 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.5566, allocations: 263.7 kB / 0.5089 GB, free: 27.09 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/0.5569, allocations: 268 kB / 0.5092 GB, free: 26.83 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.001605/0.5585, allocations: 0.5686 MB / 0.5097 GB, free: 26.36 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005616/0.5591, allocations: 443.6 kB / 0.5101 GB, free: 25.93 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003833/0.5629, allocations: 3.43 MB / 0.5135 GB, free: 22.48 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002449/0.5654, allocations: 2.207 MB / 0.5156 GB, free: 20.25 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.5654, allocations: 12 kB / 0.5157 GB, free: 20.24 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/0.5654, allocations: 23.91 kB / 0.5157 GB, free: 20.21 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.5755, allocations: 9.525 MB / 0.525 GB, free: 11.9 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.5755, allocations: 3.938 kB / 0.525 GB, free: 11.89 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/0.5772, allocations: 0.8019 MB / 0.5258 GB, free: 11.14 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00173/0.5789, allocations: 1.059 MB / 0.5268 GB, free: 10.09 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001841/0.5791, allocations: 105.9 kB / 0.5269 GB, free: 9.984 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004367/0.5834, allocations: 4.603 MB / 0.5314 GB, free: 5.418 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5834, allocations: 4 kB / 0.5314 GB, free: 5.414 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004705/0.5881, allocations: 4.062 MB / 0.5354 GB, free: 1.32 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.5893, allocations: 0.6244 MB / 0.536 GB, free: 0.6953 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003569/0.5896, allocations: 92 kB / 0.5361 GB, free: 0.6055 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009172/0.5905, allocations: 136 kB / 0.5362 GB, free: 484 kB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003601/0.5909, allocations: 363.9 kB / 0.5365 GB, free: 120 kB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/0.5911, allocations: 108 kB / 0.5366 GB, free: 12 kB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001247/0.5923, allocations: 1.213 MB / 0.5378 GB, free: 14.96 MB / 394.8 MB Notification: Performance of sort global known variables: time 9e-08/0.5923, allocations: 0 / 0.5378 GB, free: 14.96 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004246/0.5966, allocations: 1.914 MB / 0.5397 GB, free: 13.05 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.0004733/0.597, allocations: 296.7 kB / 0.54 GB, free: 12.8 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.004487/0.6015, allocations: 3.85 MB / 0.5437 GB, free: 9.211 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001138/0.6016, allocations: 71.12 kB / 0.5438 GB, free: 9.141 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0022/0.6038, allocations: 2.029 MB / 0.5458 GB, free: 7.234 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/0.6062, allocations: 1.027 MB / 0.5468 GB, free: 6.25 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0187/0.6249, allocations: 15.69 MB / 0.5621 GB, free: 6.496 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/0.6269, allocations: 2.151 MB / 0.5642 GB, free: 4.309 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002455/0.6293, allocations: 0.8137 MB / 0.565 GB, free: 3.488 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002027/0.6313, allocations: 1.061 MB / 0.566 GB, free: 2.418 MB / 410.8 MB Notification: Performance of SimCode: time 1.493e-06/0.6313, allocations: 0 / 0.566 GB, free: 2.418 MB / 410.8 MB Notification: Performance of Templates: time 0.2273/0.8586, allocations: 78.66 MB / 0.6429 GB, free: 88.05 MB / 426.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.716582045890391]