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.IMC_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.001092/0.001092, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001097/0.001097, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9189/0.9189, allocations: 177.1 MB / 205 MB, free: 5.602 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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 273 MB, free: 1.496 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.068e-05, allocations: 10.25 kB / 273 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1283/0.1284, allocations: 24.37 MB / 297.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01424/0.1426, allocations: 7.371 MB / 304.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00412/0.1467, allocations: 222.6 kB / 305 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01006/0.1568, allocations: 9.425 MB / 314.4 MB, free: 7.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00714/0.1639, allocations: 3.046 MB / 317.4 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003593/0.1675, allocations: 1.744 MB / 319.2 MB, free: 3.246 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01066/0.1782, allocations: 11.3 MB / 330.5 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01961/0.1978, allocations: 14.23 MB / 344.7 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01071/0.2085, allocations: 8.694 MB / 353.4 MB, free: 2.281 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007778/0.2163, allocations: 6.059 MB / 359.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003937/0.2202, allocations: 1.668 MB / 361.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005003/0.2252, allocations: 2.054 MB / 363.2 MB, free: 8.484 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00242/0.2276, allocations: 3.273 MB / 366.5 MB, free: 5.203 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005469/0.2331, allocations: 4.133 MB / 370.6 MB, free: 1.062 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.2437, allocations: 10.41 MB / 381 MB, free: 6.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.2437, allocations: 4 kB / 381 MB, free: 6.621 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2437, allocations: 0 / 381 MB, free: 6.621 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003283/0.244, allocations: 0 / 381 MB, free: 6.621 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.0224/0.2664, allocations: 13.67 MB / 394.7 MB, free: 8.852 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.2665, allocations: 8.031 kB / 394.7 MB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02734/0.2938, allocations: 7.756 MB / 402.4 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/0.3051, allocations: 6.698 MB / 409.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000545/0.3056, allocations: 0.6985 MB / 409.8 MB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001748/0.3074, allocations: 0.9334 MB / 410.8 MB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01785/0.3252, allocations: 8.279 MB / 419.1 MB, free: 292 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/0.3254, allocations: 15.89 kB / 419.1 MB, free: 276 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000697/0.3261, allocations: 392 kB / 419.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003677/0.3264, allocations: 0.5508 MB / 420 MB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009939/0.3364, allocations: 4.603 MB / 424.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2984/0.6348, allocations: 40.81 MB / 465.4 MB, free: 72.93 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008793/0.6436, allocations: 7.993 MB / 473.4 MB, free: 71.53 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/0.6454, allocations: 1.337 MB / 474.7 MB, free: 71.25 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000233/0.6456, allocations: 123.2 kB / 474.9 MB, free: 71.23 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.6457, allocations: 88.77 kB / 474.9 MB, free: 71.16 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 6.843e-06/0.6457, allocations: 3.219 kB / 475 MB, free: 71.16 MB / 378.8 MB Notification: Performance of matching and sorting (n=404): time 0.01835/0.664, allocations: 10.31 MB / 485.3 MB, free: 65.14 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.6641, allocations: 90.58 kB / 485.4 MB, free: 65.04 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/0.6671, allocations: 3.295 MB / 488.6 MB, free: 61.83 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001412/0.6672, allocations: 93.7 kB / 488.7 MB, free: 61.73 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001423/0.6687, allocations: 4.372 MB / 493.1 MB, free: 58.02 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006129/0.6693, allocations: 1.476 MB / 494.6 MB, free: 56.61 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/0.6703, allocations: 1.268 MB / 495.9 MB, free: 55.33 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.604e-05/0.6704, allocations: 480.7 kB / 496.3 MB, free: 54.86 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.6716, allocations: 0.8781 MB / 497.2 MB, free: 53.97 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/0.6737, allocations: 4.121 MB / 0.4896 GB, free: 48.52 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003817/0.6775, allocations: 5.505 MB / 0.4949 GB, free: 41.94 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.41e-05/0.6775, allocations: 24 kB / 0.495 GB, free: 41.91 MB / 378.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.006589/0.6841, allocations: 5.328 MB / 0.5002 GB, free: 37.04 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.6841, allocations: 32 kB / 0.5002 GB, free: 37.01 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-05/0.6842, allocations: 72.88 kB / 0.5003 GB, free: 36.94 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00207/0.6863, allocations: 1.122 MB / 0.5014 GB, free: 35.82 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/0.6884, allocations: 1.316 MB / 0.5027 GB, free: 34.59 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005967/0.6944, allocations: 6.059 MB / 0.5086 GB, free: 28.47 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.6966, allocations: 327.6 kB / 0.5089 GB, free: 28.15 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002519/0.6968, allocations: 284 kB / 0.5092 GB, free: 27.88 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001961/0.6988, allocations: 0.5375 MB / 0.5097 GB, free: 27.42 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005818/0.6994, allocations: 0.5247 MB / 0.5102 GB, free: 26.89 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004657/0.704, allocations: 3.653 MB / 0.5138 GB, free: 23.24 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003372/0.7074, allocations: 2.68 MB / 0.5164 GB, free: 20.57 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.7074, allocations: 8 kB / 0.5164 GB, free: 20.56 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.476e-05/0.7074, allocations: 23.86 kB / 0.5164 GB, free: 20.54 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.7212, allocations: 11.31 MB / 0.5275 GB, free: 9.246 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.7212, allocations: 4 kB / 0.5275 GB, free: 9.242 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/0.7227, allocations: 0.7234 MB / 0.5282 GB, free: 8.559 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001985/0.7247, allocations: 1.019 MB / 0.5292 GB, free: 7.535 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/0.7248, allocations: 95.97 kB / 0.5293 GB, free: 7.441 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005568/0.7304, allocations: 5.579 MB / 0.5347 GB, free: 1.766 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.7304, allocations: 8.594 kB / 0.5347 GB, free: 1.762 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006826/0.7372, allocations: 4.691 MB / 0.5393 GB, free: 12.97 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/0.7389, allocations: 0.8173 MB / 0.5401 GB, free: 12.15 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003258/0.7392, allocations: 77.41 kB / 0.5402 GB, free: 12.08 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009614/0.7402, allocations: 199.8 kB / 0.5404 GB, free: 11.88 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004559/0.7407, allocations: 299 kB / 0.5406 GB, free: 11.59 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/0.7408, allocations: 128 kB / 0.5408 GB, free: 11.46 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.002215/0.743, allocations: 1.51 MB / 0.5422 GB, free: 9.961 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.743, allocations: 0.875 kB / 0.5422 GB, free: 9.961 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004428/0.7475, allocations: 1.605 MB / 0.5438 GB, free: 8.355 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (389): * Single equations (assignments): 387 * 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,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005286/0.748, allocations: 287.9 kB / 0.5441 GB, free: 8.113 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.006137/0.7541, allocations: 4.109 MB / 0.5481 GB, free: 4.199 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.7541, allocations: 0 / 0.5481 GB, free: 4.199 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003049/0.7572, allocations: 2.125 MB / 0.5502 GB, free: 2.137 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/0.76, allocations: 0.9134 MB / 0.5511 GB, free: 1.266 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02052/0.7805, allocations: 13.83 MB / 0.5646 GB, free: 3.285 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002255/0.7828, allocations: 2.593 MB / 0.5671 GB, free: 0.6523 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0032/0.786, allocations: 1.61 MB / 0.5687 GB, free: 15.03 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00072/0.7867, allocations: 356.3 kB / 0.569 GB, free: 14.69 MB / 426.8 MB Notification: Performance of SimCode: time 1.923e-06/0.7867, allocations: 0 / 0.569 GB, free: 14.69 MB / 426.8 MB Notification: Performance of Templates: time 0.2078/0.9945, allocations: 60.42 MB / 0.628 GB, free: 103.9 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_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.891518474090844]