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.0009922/0.0009922, allocations: 85.95 kB / 23 MB, free: 1.504 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.001185/0.001185, allocations: 175.6 kB / 26.39 MB, free: 7.988 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.022/1.022, allocations: 158.6 MB / 188.3 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.793e-06/1.793e-06, allocations: 3.938 kB / 252.3 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.89e-05, allocations: 2.312 kB / 252.3 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02008/0.02011, allocations: 23.37 MB / 275.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01468/0.03478, allocations: 7.237 MB / 282.9 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00511/0.03989, allocations: 191 kB / 283.1 MB, free: 8.285 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0133/0.05319, allocations: 9.115 MB / 292.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009962/0.06316, allocations: 3.076 MB / 295.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004894/0.06805, allocations: 1.734 MB / 297 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01538/0.08342, allocations: 11.34 MB / 308.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02435/0.1078, allocations: 14.27 MB / 322.6 MB, free: 0.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01846/0.1262, allocations: 8.788 MB / 331.4 MB, free: 7.699 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0115/0.1377, allocations: 6.332 MB / 337.7 MB, free: 1.355 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005238/0.143, allocations: 1.68 MB / 339.4 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007922/0.1509, allocations: 2.05 MB / 341.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006354/0.1573, allocations: 3.335 MB / 344.8 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0104/0.1677, allocations: 4.184 MB / 349 MB, free: 6.086 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1672/0.3349, allocations: 10.51 MB / 359.5 MB, free: 53.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.3349, allocations: 0.5 kB / 359.5 MB, free: 53.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3349, allocations: 0.5938 kB / 359.5 MB, free: 53.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0007071/0.3356, allocations: 3.5 kB / 359.5 MB, free: 53.46 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.03198/0.3676, allocations: 12.86 MB / 372.4 MB, free: 49.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3676, allocations: 14.7 kB / 372.4 MB, free: 49.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0224/0.39, allocations: 6.767 MB / 379.1 MB, free: 49.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009879/0.3999, allocations: 5.359 MB / 384.5 MB, free: 47.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005502/0.4005, allocations: 0.7169 MB / 385.2 MB, free: 47.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003349/0.4038, allocations: 0.9413 MB / 386.2 MB, free: 47.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02281/0.4266, allocations: 7.755 MB / 393.9 MB, free: 44.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003001/0.4269, allocations: 18.91 kB / 393.9 MB, free: 44.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002233/0.4292, allocations: 396.6 kB / 394.3 MB, free: 44.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004021/0.4296, allocations: 0.5786 MB / 394.9 MB, free: 43.49 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.4415, allocations: 3.785 MB / 398.7 MB, free: 39.67 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06625/0.5077, allocations: 40.72 MB / 439.4 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01339/0.5211, allocations: 8.19 MB / 447.6 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002379/0.5235, allocations: 1.223 MB / 448.8 MB, free: 8.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/0.5342, allocations: 5.838 MB / 454.7 MB, free: 2.758 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.03e-05/0.5343, allocations: 71.56 kB / 454.7 MB, free: 2.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=297): time 4.929e-06/0.5343, allocations: 0 / 454.7 MB, free: 2.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=303): time 0.0191/0.5534, allocations: 7.687 MB / 462.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.5534, allocations: 93.44 kB / 462.5 MB, free: 10.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006608/0.56, allocations: 3.405 MB / 465.9 MB, free: 7.957 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006874/0.5607, allocations: 73.7 kB / 466 MB, free: 7.879 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002732/0.5634, allocations: 4.682 MB / 470.7 MB, free: 3.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001447/0.5649, allocations: 1.138 MB / 471.8 MB, free: 2.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001665/0.5665, allocations: 1.228 MB / 473 MB, free: 1.109 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.5667, allocations: 487.5 kB / 473.5 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.5678, allocations: 0.6195 MB / 474.1 MB, free: 8 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002834/0.5706, allocations: 4.191 MB / 478.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005238/0.5758, allocations: 5.362 MB / 483.7 MB, free: 4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.835e-05/0.5759, allocations: 20 kB / 483.7 MB, free: 3.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.007929/0.5839, allocations: 4.72 MB / 488.4 MB, free: 15.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.69e-05/0.5839, allocations: 40.62 kB / 488.5 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/0.584, allocations: 80 kB / 488.5 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002555/0.5866, allocations: 1.098 MB / 489.6 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/0.5894, allocations: 1.135 MB / 490.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007414/0.5968, allocations: 5.75 MB / 496.5 MB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003733/0.6006, allocations: 231.8 kB / 496.7 MB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008555/0.6014, allocations: 240 kB / 497 MB, free: 7.34 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.003033/0.6045, allocations: 0.52 MB / 497.5 MB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/0.6056, allocations: 477.5 kB / 498 MB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004856/0.6104, allocations: 2.882 MB / 0.4891 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003142/0.6136, allocations: 1.955 MB / 0.491 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.6136, allocations: 14.73 kB / 0.491 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/0.6136, allocations: 15.94 kB / 0.491 GB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1823/0.7959, allocations: 9.371 MB / 0.5002 GB, free: 106.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.7959, allocations: 3.562 kB / 0.5002 GB, free: 106.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/0.7979, allocations: 486.1 kB / 0.5007 GB, free: 106.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00309/0.801, allocations: 0.9787 MB / 0.5016 GB, free: 106.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003645/0.8013, allocations: 74.53 kB / 0.5017 GB, free: 106.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008579/0.8099, allocations: 5.276 MB / 0.5068 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.8099, allocations: 5.281 kB / 0.5069 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008277/0.8182, allocations: 3.476 MB / 0.5102 GB, free: 103.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002216/0.8204, allocations: 0.6813 MB / 0.5109 GB, free: 103.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009126/0.8213, allocations: 58.94 kB / 0.511 GB, free: 103.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/0.8232, allocations: 91.64 kB / 0.5111 GB, free: 103.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006641/0.8238, allocations: 240.1 kB / 0.5113 GB, free: 103.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/0.824, allocations: 68.16 kB / 0.5113 GB, free: 103.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003436/0.8275, allocations: 1.46 MB / 0.5128 GB, free: 103.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8275, allocations: 3.812 kB / 0.5128 GB, free: 103.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008734/0.8362, allocations: 1.537 MB / 0.5143 GB, free: 103.5 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.00105/0.8373, allocations: 236.3 kB / 0.5145 GB, free: 103.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006231/0.8435, allocations: 3.478 MB / 0.5179 GB, free: 103 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.8435, allocations: 2.094 kB / 0.5179 GB, free: 103 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002535/0.846, allocations: 1.681 MB / 0.5195 GB, free: 102.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003072/0.8491, allocations: 0.8699 MB / 0.5204 GB, free: 102.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02083/0.8699, allocations: 13.66 MB / 0.5337 GB, free: 93.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002677/0.8726, allocations: 2.595 MB / 0.5363 GB, free: 91.56 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00227/0.8749, allocations: 0.6344 MB / 0.5369 GB, free: 91.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/0.8763, allocations: 0.9043 MB / 0.5378 GB, free: 90.27 MB / 394.7 MB Notification: Performance of SimCode: time 1.844e-06/0.8763, allocations: 0 / 0.5378 GB, free: 90.27 MB / 394.7 MB Notification: Performance of Templates: time 0.08178/0.9581, allocations: 60.3 MB / 0.5967 GB, free: 31.46 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: 5.126572723034769]