Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001473/0.001473, allocations: 84.3 kB / 22.21 MB, free: 2.293 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.001632/0.001632, allocations: 169.5 kB / 25.6 MB, free: 8.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.026/1.026, allocations: 158.6 MB / 187.5 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 251.5 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.031e-05, allocations: 6.25 kB / 251.5 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.04646/0.04648, allocations: 23.36 MB / 274.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01506/0.06155, allocations: 7.249 MB / 282.1 MB, free: 8.469 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003642/0.06519, allocations: 183.1 kB / 282.3 MB, free: 8.289 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009783/0.07497, allocations: 9.115 MB / 291.4 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007582/0.08255, allocations: 3.084 MB / 294.5 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003195/0.08575, allocations: 1.73 MB / 296.2 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01074/0.09648, allocations: 11.35 MB / 307.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01715/0.1136, allocations: 14.26 MB / 321.8 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009926/0.1236, allocations: 8.807 MB / 330.6 MB, free: 7.688 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007397/0.131, allocations: 6.324 MB / 337 MB, free: 1.352 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002852/0.1338, allocations: 1.676 MB / 338.6 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003638/0.1374, allocations: 2.05 MB / 340.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001803/0.1392, allocations: 3.332 MB / 344 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004692/0.1439, allocations: 4.18 MB / 348.2 MB, free: 6.094 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1822/0.3261, allocations: 10.52 MB / 358.7 MB, free: 53.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.3261, allocations: 0 / 358.7 MB, free: 53.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3261, allocations: 0 / 358.7 MB, free: 53.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0007969/0.3269, allocations: 0 / 358.7 MB, free: 53.41 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.03451/0.3614, allocations: 12.86 MB / 371.6 MB, free: 49.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.3615, allocations: 15.47 kB / 371.6 MB, free: 49.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02005/0.3815, allocations: 6.772 MB / 378.4 MB, free: 49.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.3927, allocations: 5.361 MB / 383.7 MB, free: 47.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006143/0.3934, allocations: 0.714 MB / 384.4 MB, free: 47.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002691/0.3961, allocations: 0.9361 MB / 385.4 MB, free: 47.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01261/0.4087, allocations: 7.754 MB / 393.1 MB, free: 44.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001458/0.4088, allocations: 19.02 kB / 393.2 MB, free: 44.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006792/0.4095, allocations: 396.8 kB / 393.5 MB, free: 44.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003206/0.4098, allocations: 0.5786 MB / 394.1 MB, free: 43.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00879/0.4186, allocations: 3.788 MB / 397.9 MB, free: 39.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06322/0.4818, allocations: 40.73 MB / 438.6 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009616/0.4914, allocations: 8.184 MB / 446.8 MB, free: 9.574 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001955/0.4934, allocations: 1.225 MB / 448 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.5036, allocations: 5.859 MB / 453.9 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.886e-05/0.5036, allocations: 71.56 kB / 454 MB, free: 2.641 MB / 346.7 MB Notification: Performance of pre-optimization done (n=297): time 5.781e-06/0.5037, allocations: 0 / 454 MB, free: 2.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=303): time 0.01863/0.5223, allocations: 7.689 MB / 461.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.5223, allocations: 85.78 kB / 461.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005102/0.5274, allocations: 3.407 MB / 465.2 MB, free: 7.918 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005845/0.528, allocations: 77.7 kB / 465.2 MB, free: 7.836 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003075/0.5311, allocations: 4.678 MB / 469.9 MB, free: 3.281 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001344/0.5324, allocations: 1.135 MB / 471 MB, free: 2.207 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001536/0.534, allocations: 1.234 MB / 472.3 MB, free: 1.066 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5341, allocations: 484 kB / 472.7 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009939/0.5351, allocations: 0.6156 MB / 473.4 MB, free: 15.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003099/0.5382, allocations: 4.193 MB / 477.6 MB, free: 10.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006169/0.5444, allocations: 5.356 MB / 482.9 MB, free: 3.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-05/0.5445, allocations: 20 kB / 482.9 MB, free: 3.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01107/0.5555, allocations: 4.716 MB / 487.6 MB, free: 15.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.372e-05/0.5556, allocations: 43.84 kB / 487.7 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/0.5557, allocations: 80 kB / 487.8 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003463/0.5592, allocations: 1.102 MB / 488.9 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003684/0.5629, allocations: 1.134 MB / 490 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008478/0.5714, allocations: 5.769 MB / 495.8 MB, free: 7.742 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003273/0.5746, allocations: 223.8 kB / 496 MB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002845/0.5749, allocations: 240 kB / 496.2 MB, free: 7.289 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002883/0.5778, allocations: 0.5282 MB / 496.8 MB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006992/0.5785, allocations: 477.5 kB / 497.2 MB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004442/0.5829, allocations: 2.879 MB / 0.4884 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002723/0.5857, allocations: 1.955 MB / 0.4903 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.5857, allocations: 12 kB / 0.4903 GB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.5857, allocations: 19.94 kB / 0.4903 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2002/0.7859, allocations: 9.374 MB / 0.4995 GB, free: 106.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/0.7859, allocations: 3.312 kB / 0.4995 GB, free: 106.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/0.7877, allocations: 482.1 kB / 0.4999 GB, free: 106.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002857/0.7906, allocations: 0.9754 MB / 0.5009 GB, free: 106.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003832/0.791, allocations: 71.47 kB / 0.501 GB, free: 106.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007755/0.7987, allocations: 5.281 MB / 0.5061 GB, free: 104.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.7987, allocations: 7.719 kB / 0.5061 GB, free: 104.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006156/0.8049, allocations: 3.476 MB / 0.5095 GB, free: 103.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.806, allocations: 0.6784 MB / 0.5102 GB, free: 103.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/0.8063, allocations: 60.81 kB / 0.5102 GB, free: 103.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000777/0.807, allocations: 98.47 kB / 0.5103 GB, free: 103.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003193/0.8074, allocations: 235.2 kB / 0.5106 GB, free: 103.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/0.8075, allocations: 72.2 kB / 0.5106 GB, free: 103.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00176/0.8093, allocations: 1.457 MB / 0.512 GB, free: 103.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8093, allocations: 0 / 0.512 GB, free: 103.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004166/0.8134, allocations: 1.54 MB / 0.5136 GB, free: 103.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (282): * Single equations (assignments): 280 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003656/0.8138, allocations: 247.1 kB / 0.5138 GB, free: 103.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004678/0.8185, allocations: 3.473 MB / 0.5172 GB, free: 102.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.8185, allocations: 2.969 kB / 0.5172 GB, free: 102.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002465/0.8209, allocations: 1.679 MB / 0.5188 GB, free: 102.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/0.8236, allocations: 0.8718 MB / 0.5197 GB, free: 102.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/0.8432, allocations: 13.66 MB / 0.533 GB, free: 92.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002184/0.8454, allocations: 2.598 MB / 0.5356 GB, free: 91.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002196/0.8476, allocations: 0.636 MB / 0.5362 GB, free: 91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001666/0.8492, allocations: 0.9015 MB / 0.5371 GB, free: 90.22 MB / 394.7 MB Notification: Performance of SimCode: time 1.362e-06/0.8492, allocations: 2.625 kB / 0.5371 GB, free: 90.22 MB / 394.7 MB Notification: Performance of Templates: time 0.08005/0.9293, allocations: 59.29 MB / 0.595 GB, free: 32.43 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.736266736872494]