Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.001879/0.001879, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002185/0.002185, allocations: 214.6 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002373/0.002373, allocations: 48.06 kB / 378.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2806, allocations: 53.37 MB / 431.7 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01343/0.2941, allocations: 9.805 MB / 441.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008069/0.3021, allocations: 3.798 MB / 445.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.3036, allocations: 59.62 kB / 445.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.3058, allocations: 0.7024 MB / 446 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002667/0.3084, allocations: 0.9285 MB / 447 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.3097, allocations: 491 kB / 447.4 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003721/0.3134, allocations: 2.665 MB / 450.1 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.3151, allocations: 1.113 MB / 451.2 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.3171, allocations: 1.234 MB / 452.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002584/0.3197, allocations: 1.549 MB / 454 MB, free: 472 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004842/0.3202, allocations: 304 kB / 454.3 MB, free: 168 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.3214, allocations: 0.6283 MB / 454.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.3228, allocations: 1.036 MB / 456 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001865/0.3247, allocations: 1.493 MB / 457.5 MB, free: 13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005436/0.3301, allocations: 4.324 MB / 461.8 MB, free: 8.656 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3301, allocations: 0 / 461.8 MB, free: 8.656 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.3301, allocations: 0 / 461.8 MB, free: 8.656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001161/0.3302, allocations: 0 / 461.8 MB, free: 8.656 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007667/0.3379, allocations: 3.189 MB / 465 MB, free: 5.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3379, allocations: 8.031 kB / 465 MB, free: 5.406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.3392, allocations: 370.9 kB / 465.3 MB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003382/0.3425, allocations: 1.666 MB / 467 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.3427, allocations: 152 kB / 467.2 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003507/0.343, allocations: 211.9 kB / 467.4 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004813/0.3479, allocations: 2.69 MB / 470.1 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-05/0.3479, allocations: 7.953 kB / 470.1 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002002/0.3481, allocations: 83.98 kB / 470.1 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/0.3482, allocations: 99.92 kB / 470.2 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004184/0.3524, allocations: 2.28 MB / 472.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01375/0.3662, allocations: 8.022 MB / 480.5 MB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003007/0.3692, allocations: 1.32 MB / 481.9 MB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002022/0.3712, allocations: 1.02 MB / 482.9 MB, free: 3.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002327/0.3714, allocations: 48.91 kB / 482.9 MB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.3715, allocations: 47.55 kB / 483 MB, free: 3.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 2.875e-06/0.3715, allocations: 0 / 483 MB, free: 3.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01318/0.3847, allocations: 6.116 MB / 489.1 MB, free: 12.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.3847, allocations: 68.72 kB / 489.2 MB, free: 12.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003057/0.3878, allocations: 2.181 MB / 491.3 MB, free: 10.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.958e-05/0.3879, allocations: 49.7 kB / 491.4 MB, free: 10.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009903/0.3889, allocations: 1.13 MB / 492.5 MB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004224/0.3893, allocations: 483.9 kB / 493 MB, free: 8.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004302/0.3897, allocations: 247.5 kB / 493.2 MB, free: 8.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.3899, allocations: 361.9 kB / 493.6 MB, free: 8.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.3913, allocations: 0.7613 MB / 494.3 MB, free: 7.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.3929, allocations: 1.01 MB / 495.4 MB, free: 6.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00305/0.3959, allocations: 1.861 MB / 497.2 MB, free: 4.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.3959, allocations: 4 kB / 497.2 MB, free: 4.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005546/0.4015, allocations: 2.758 MB / 500 MB, free: 1.738 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.4015, allocations: 8 kB / 500 MB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.4015, allocations: 8 kB / 500 MB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002158/0.4037, allocations: 0.789 MB / 0.489 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.4049, allocations: 267.6 kB / 0.4893 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01339/0.4183, allocations: 9.395 MB / 0.4985 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.4198, allocations: 95.95 kB / 0.4986 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.4199, allocations: 51.98 kB / 0.4986 GB, free: 6.895 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001322/0.4212, allocations: 0.7434 MB / 0.4993 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/0.4216, allocations: 214.6 kB / 0.4996 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004888/0.4265, allocations: 2.481 MB / 0.502 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/0.4266, allocations: 19.92 kB / 0.502 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.4266, allocations: 11.94 kB / 0.502 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.4266, allocations: 3.984 kB / 0.502 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009459/0.436, allocations: 4.898 MB / 0.5068 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.4361, allocations: 4 kB / 0.5068 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.4371, allocations: 211.7 kB / 0.507 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001834/0.439, allocations: 0.6512 MB / 0.5076 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.4391, allocations: 39.97 kB / 0.5077 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01057/0.4497, allocations: 8.41 MB / 0.5159 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.4497, allocations: 7.969 kB / 0.5159 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006735/0.4564, allocations: 3.534 MB / 0.5193 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.4575, allocations: 378.5 kB / 0.5197 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003672/0.4579, allocations: 27.98 kB / 0.5197 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.459, allocations: 79.91 kB / 0.5198 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002918/0.4593, allocations: 112.8 kB / 0.5199 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.4594, allocations: 43.86 kB / 0.52 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002699/0.4621, allocations: 1.532 MB / 0.5214 GB, free: 14.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4621, allocations: 0 / 0.5214 GB, free: 14.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002398/0.4645, allocations: 0.5272 MB / 0.522 GB, free: 14.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001814/0.4663, allocations: 459.8 kB / 0.5224 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004769/0.471, allocations: 2.298 MB / 0.5246 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/0.4711, allocations: 7.984 kB / 0.5247 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002781/0.4738, allocations: 1.464 MB / 0.5261 GB, free: 10.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/0.4769, allocations: 460.5 kB / 0.5265 GB, free: 9.848 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.4876, allocations: 5.227 MB / 0.5316 GB, free: 4.566 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/0.4899, allocations: 1.955 MB / 0.5335 GB, free: 2.574 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001354/0.4913, allocations: 399.8 kB / 0.5339 GB, free: 2.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004663/0.4917, allocations: 131.4 kB / 0.534 GB, free: 2.051 MB / 446.1 MB Notification: Performance of SimCode: time 1.362e-06/0.4917, allocations: 3.938 kB / 0.534 GB, free: 2.047 MB / 446.1 MB Notification: Performance of Templates: time 0.2365/0.7282, allocations: 31.89 MB / 0.5652 GB, free: 81.36 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.961776500102133]