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.001445/0.001445, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001528/0.001528, allocations: 168.6 kB / 25.62 MB, free: 8.914 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.9543/0.9543, allocations: 177.1 MB / 206.1 MB, free: 4.52 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 2.805e-06/2.805e-06, allocations: 3.984 kB / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.635e-05, allocations: 5.266 kB / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.01848/0.0185, allocations: 23.27 MB / 297.5 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01441/0.03291, allocations: 7.323 MB / 304.8 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004943/0.03785, allocations: 222.9 kB / 305 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01153/0.04938, allocations: 9.107 MB / 314.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007524/0.0569, allocations: 3.026 MB / 317.2 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003859/0.06076, allocations: 1.736 MB / 318.9 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01167/0.07243, allocations: 11.3 MB / 330.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1624/0.2348, allocations: 14.22 MB / 344.4 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01369/0.2485, allocations: 8.695 MB / 353.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009438/0.2579, allocations: 6.226 MB / 359.4 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003763/0.2617, allocations: 1.664 MB / 361 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004424/0.2661, allocations: 2.061 MB / 363.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002782/0.2689, allocations: 3.275 MB / 366.4 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006694/0.2756, allocations: 4.126 MB / 370.5 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.2865, allocations: 10.41 MB / 380.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2865, allocations: 0 / 380.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2865, allocations: 0 / 380.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005248/0.287, allocations: 0 / 380.9 MB, free: 15.96 MB / 314.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.02223/0.3093, allocations: 12.69 MB / 393.6 MB, free: 4.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3093, allocations: 12.03 kB / 393.6 MB, free: 4.309 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01789/0.3272, allocations: 6.015 MB / 399.6 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/0.3383, allocations: 6.26 MB / 405.9 MB, free: 8.328 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005325/0.3388, allocations: 0.704 MB / 406.6 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002252/0.3411, allocations: 0.9186 MB / 407.5 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01507/0.3561, allocations: 7.585 MB / 415.1 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002014/0.3563, allocations: 14.94 kB / 415.1 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009002/0.3572, allocations: 387.7 kB / 415.5 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004297/0.3577, allocations: 0.5547 MB / 416 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007984/0.3657, allocations: 3.602 MB / 419.6 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05014/0.4158, allocations: 40.26 MB / 459.9 MB, free: 3.684 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008284/0.4241, allocations: 6.601 MB / 466.5 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.4256, allocations: 1.158 MB / 467.6 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002375/0.4259, allocations: 127 kB / 467.8 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/0.4259, allocations: 72.52 kB / 467.8 MB, free: 12.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=398): time 5.35e-06/0.4259, allocations: 0 / 467.8 MB, free: 12.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=404): time 0.01736/0.4433, allocations: 8.567 MB / 476.4 MB, free: 4.406 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.4433, allocations: 90.58 kB / 476.5 MB, free: 4.305 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003689/0.447, allocations: 3.249 MB / 479.7 MB, free: 1.508 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002421/0.4473, allocations: 89.7 kB / 479.8 MB, free: 1.414 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002059/0.4493, allocations: 4.386 MB / 484.2 MB, free: 13.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009345/0.4503, allocations: 1.491 MB / 485.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001563/0.4518, allocations: 1.292 MB / 487 MB, free: 10.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.4519, allocations: 480.5 kB / 487.5 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009686/0.4529, allocations: 0.671 MB / 488.1 MB, free: 9.395 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/0.4553, allocations: 3.945 MB / 492.1 MB, free: 4.254 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2467/0.702, allocations: 5.168 MB / 497.2 MB, free: 93.93 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.139e-05/0.7021, allocations: 20.84 kB / 497.3 MB, free: 93.93 MB / 410.8 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.006756/0.7088, allocations: 4.836 MB / 0.4903 GB, free: 93.77 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.7089, allocations: 33.53 kB / 0.4904 GB, free: 93.77 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.667e-05/0.7089, allocations: 73.12 kB / 0.4904 GB, free: 93.77 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/0.7109, allocations: 1.084 MB / 0.4915 GB, free: 93.74 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/0.7136, allocations: 1.24 MB / 0.4927 GB, free: 93.73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005654/0.7193, allocations: 5.735 MB / 0.4983 GB, free: 91.7 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/0.7218, allocations: 222.7 kB / 0.4985 GB, free: 91.69 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003339/0.7221, allocations: 243.1 kB / 0.4988 GB, free: 91.69 MB / 410.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.002108/0.7243, allocations: 0.5332 MB / 0.4993 GB, free: 91.53 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006617/0.7249, allocations: 0.5208 MB / 0.4998 GB, free: 91.42 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004167/0.7291, allocations: 3.303 MB / 0.503 GB, free: 91.15 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002821/0.7319, allocations: 2.319 MB / 0.5053 GB, free: 90.97 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.7319, allocations: 10.69 kB / 0.5053 GB, free: 90.97 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.402e-05/0.7319, allocations: 19.98 kB / 0.5053 GB, free: 90.97 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/0.7449, allocations: 10.86 MB / 0.5159 GB, free: 89.83 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.7449, allocations: 3.75 kB / 0.5159 GB, free: 89.83 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.7462, allocations: 0.6432 MB / 0.5165 GB, free: 89.82 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001695/0.7479, allocations: 0.9812 MB / 0.5175 GB, free: 89.77 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/0.748, allocations: 93.7 kB / 0.5176 GB, free: 89.77 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004841/0.7529, allocations: 5.299 MB / 0.5228 GB, free: 87.63 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.7529, allocations: 7.094 kB / 0.5228 GB, free: 87.63 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004808/0.7577, allocations: 4.147 MB / 0.5268 GB, free: 86.69 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.7587, allocations: 0.757 MB / 0.5276 GB, free: 86.47 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/0.759, allocations: 78.28 kB / 0.5276 GB, free: 86.47 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008321/0.7599, allocations: 99.56 kB / 0.5277 GB, free: 86.47 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003466/0.7602, allocations: 310.7 kB / 0.528 GB, free: 86.46 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.7604, allocations: 98.06 kB / 0.5281 GB, free: 86.46 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001313/0.7617, allocations: 1.407 MB / 0.5295 GB, free: 86.27 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.7617, allocations: 0 / 0.5295 GB, free: 86.27 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.003832/0.7655, allocations: 1.603 MB / 0.5311 GB, free: 85.05 MB / 410.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.0003947/0.7659, allocations: 282.1 kB / 0.5313 GB, free: 84.88 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.004163/0.7701, allocations: 3.717 MB / 0.535 GB, free: 82.27 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7701, allocations: 8.062 kB / 0.535 GB, free: 82.26 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001949/0.772, allocations: 1.937 MB / 0.5369 GB, free: 80.92 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.7742, allocations: 0.9096 MB / 0.5377 GB, free: 80.43 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/0.7902, allocations: 13.68 MB / 0.5511 GB, free: 67.93 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/0.792, allocations: 2.599 MB / 0.5536 GB, free: 65.98 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001902/0.7939, allocations: 0.6826 MB / 0.5543 GB, free: 65.39 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/0.7953, allocations: 0.9899 MB / 0.5553 GB, free: 64.4 MB / 410.8 MB Notification: Performance of SimCode: time 1.823e-06/0.7953, allocations: 0 / 0.5553 GB, free: 64.4 MB / 410.8 MB Notification: Performance of Templates: time 0.07614/0.8714, allocations: 67.16 MB / 0.6209 GB, free: 14.22 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: 5.258012185804546]