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.0009993/0.0009993, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.00114/0.00114, allocations: 168 kB / 25.7 MB, free: 8.445 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.034/1.034, allocations: 158.6 MB / 187.6 MB, free: 2.801 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.463e-06/1.463e-06, allocations: 0 / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.432e-05, allocations: 6.312 kB / 251.6 MB, free: 7.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02271/0.02273, allocations: 23.43 MB / 275 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01597/0.0387, allocations: 7.631 MB / 282.7 MB, free: 8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00603/0.04473, allocations: 187 kB / 282.8 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01289/0.05762, allocations: 9.309 MB / 292.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.06788, allocations: 3.084 MB / 295.2 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004329/0.07221, allocations: 1.738 MB / 297 MB, free: 9.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01246/0.08467, allocations: 11.34 MB / 308.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02215/0.1068, allocations: 14.68 MB / 323 MB, free: 15.37 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01635/0.1232, allocations: 8.827 MB / 331.8 MB, free: 6.531 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01006/0.1332, allocations: 6.406 MB / 338.2 MB, free: 116 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004595/0.1378, allocations: 1.676 MB / 339.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006293/0.1441, allocations: 2.054 MB / 342 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004182/0.1483, allocations: 3.335 MB / 345.3 MB, free: 9.035 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007428/0.1557, allocations: 4.184 MB / 349.5 MB, free: 4.844 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1452/0.3009, allocations: 10.5 MB / 360 MB, free: 53.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3009, allocations: 3.625 kB / 360 MB, free: 53.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3009, allocations: 0 / 360 MB, free: 53.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005851/0.3015, allocations: 7.156 kB / 360 MB, free: 53.95 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.02642/0.3279, allocations: 12.04 MB / 372 MB, free: 50.6 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.328, allocations: 14.17 kB / 372.1 MB, free: 50.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0256/0.3536, allocations: 7.171 MB / 379.2 MB, free: 50.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009024/0.3626, allocations: 3.115 MB / 382.3 MB, free: 49.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005819/0.3632, allocations: 0.714 MB / 383.1 MB, free: 49.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003486/0.3667, allocations: 0.9296 MB / 384 MB, free: 49.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02135/0.388, allocations: 7.937 MB / 391.9 MB, free: 46.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002888/0.3883, allocations: 13.5 kB / 391.9 MB, free: 46.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002024/0.3903, allocations: 396.7 kB / 392.3 MB, free: 46.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003805/0.3907, allocations: 0.5864 MB / 392.9 MB, free: 45.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01205/0.4028, allocations: 4.158 MB / 397.1 MB, free: 41.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0521/0.4548, allocations: 31.14 MB / 428.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007234/0.4621, allocations: 6.414 MB / 434.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.4637, allocations: 1.062 MB / 435.7 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008239/0.472, allocations: 4.486 MB / 440.2 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.76e-05/0.472, allocations: 64.89 kB / 440.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=297): time 4.068e-06/0.472, allocations: 0 / 440.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=303): time 0.015/0.487, allocations: 7.075 MB / 447.3 MB, free: 8.699 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.4871, allocations: 81.78 kB / 447.4 MB, free: 8.605 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002746/0.4898, allocations: 2.5 MB / 449.9 MB, free: 6.605 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002641/0.4901, allocations: 77.7 kB / 450 MB, free: 6.523 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001731/0.4918, allocations: 4.078 MB / 454 MB, free: 2.574 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007892/0.4926, allocations: 1.098 MB / 455.1 MB, free: 1.539 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.4936, allocations: 1.007 MB / 456.1 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.771e-05/0.4937, allocations: 309.1 kB / 456.4 MB, free: 332 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.4947, allocations: 0.7249 MB / 457.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/0.4966, allocations: 2.938 MB / 460.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003565/0.5002, allocations: 4.171 MB / 464.3 MB, free: 6.863 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.918e-05/0.5002, allocations: 27.94 kB / 464.3 MB, free: 6.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.00531/0.5056, allocations: 3.869 MB / 468.2 MB, free: 3.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/0.5056, allocations: 43.94 kB / 468.2 MB, free: 3.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.839e-05/0.5057, allocations: 80 kB / 468.3 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002083/0.5078, allocations: 1.046 MB / 469.3 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/0.5102, allocations: 1.182 MB / 470.5 MB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005517/0.5157, allocations: 4.565 MB / 475.1 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002552/0.5183, allocations: 227.8 kB / 475.3 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004839/0.5188, allocations: 236 kB / 475.5 MB, free: 12.27 MB / 378.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.002445/0.5212, allocations: 491.3 kB / 476 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006503/0.5219, allocations: 318.5 kB / 476.3 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003603/0.5255, allocations: 2.424 MB / 478.8 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002289/0.5278, allocations: 1.523 MB / 480.3 MB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.5278, allocations: 8 kB / 480.3 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.5278, allocations: 15.94 kB / 480.3 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/0.541, allocations: 6.745 MB / 487 MB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.541, allocations: 7.984 kB / 487.1 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/0.5424, allocations: 0.4957 MB / 487.5 MB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00207/0.5444, allocations: 0.926 MB / 488.5 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002239/0.5447, allocations: 67.98 kB / 488.5 MB, free: 372 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004886/0.5496, allocations: 4.17 MB / 492.7 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.5496, allocations: 4 kB / 492.7 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0044/0.554, allocations: 2.844 MB / 495.6 MB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/0.5553, allocations: 459.3 kB / 496 MB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003746/0.5557, allocations: 60 kB / 496.1 MB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008214/0.5565, allocations: 96 kB / 496.2 MB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004419/0.5569, allocations: 230.1 kB / 496.4 MB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/0.5571, allocations: 63.98 kB / 496.4 MB, free: 8.469 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001504/0.5586, allocations: 1.125 MB / 497.6 MB, free: 7.488 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5586, allocations: 0 / 497.6 MB, free: 7.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004732/0.5633, allocations: 1.543 MB / 499.1 MB, free: 5.945 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.0005474/0.5639, allocations: 234.1 kB / 499.3 MB, free: 5.746 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004495/0.5684, allocations: 3.011 MB / 0.4906 GB, free: 2.996 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001405/0.5685, allocations: 63.94 kB / 0.4906 GB, free: 2.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.5708, allocations: 1.473 MB / 0.4921 GB, free: 1.539 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/0.5738, allocations: 0.8542 MB / 0.4929 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1476/0.7214, allocations: 13.52 MB / 0.5061 GB, free: 113.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003267/0.7246, allocations: 1.836 MB / 0.5079 GB, free: 113.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002519/0.7272, allocations: 0.6469 MB / 0.5085 GB, free: 113.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/0.729, allocations: 0.8017 MB / 0.5093 GB, free: 113.2 MB / 394.7 MB Notification: Performance of SimCode: time 4.197e-06/0.729, allocations: 0 / 0.5093 GB, free: 113.2 MB / 394.7 MB Notification: Performance of Templates: time 0.09201/0.821, allocations: 59.66 MB / 0.5676 GB, free: 65.89 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 -s gbode -gbm=radauIIA3 -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.58385028783232]