Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 80.62 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 141.9 kB / 25.59 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8758/0.8758, allocations: 173.4 MB / 202.2 MB, free: 8.312 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 269.3 MB, free: 9.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.725e-05, allocations: 2.312 kB / 269.3 MB, free: 9.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01725/0.01727, allocations: 23.32 MB / 292.6 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.013/0.03027, allocations: 7.7 MB / 300.3 MB, free: 10.58 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002737/0.03301, allocations: 214.9 kB / 300.5 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008641/0.04165, allocations: 8.66 MB / 309.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005239/0.04689, allocations: 3.103 MB / 312.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002811/0.0497, allocations: 1.815 MB / 314.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009755/0.05946, allocations: 11.58 MB / 325.7 MB, free: 1.113 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01678/0.07624, allocations: 14.54 MB / 340.2 MB, free: 2.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1449/0.2211, allocations: 9.043 MB / 349.2 MB, free: 28.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009811/0.2309, allocations: 6.408 MB / 355.6 MB, free: 28.02 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00387/0.2348, allocations: 1.71 MB / 357.4 MB, free: 28.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003699/0.2385, allocations: 2.126 MB / 359.5 MB, free: 28.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002058/0.2406, allocations: 3.516 MB / 363 MB, free: 28.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006453/0.247, allocations: 4.26 MB / 367.3 MB, free: 28.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008839/0.2558, allocations: 10.84 MB / 378.1 MB, free: 23.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2559, allocations: 4 kB / 378.1 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2559, allocations: 0.75 kB / 378.1 MB, free: 23.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004129/0.2563, allocations: 0 / 378.1 MB, free: 23.43 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.01866/0.2749, allocations: 13.38 MB / 391.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.275, allocations: 12.03 kB / 391.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01552/0.2905, allocations: 6.138 MB / 397.6 MB, free: 5.715 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007486/0.298, allocations: 6.545 MB / 404.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003824/0.2983, allocations: 0.7149 MB / 404.9 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001263/0.2996, allocations: 0.9596 MB / 405.9 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01177/0.3114, allocations: 7.733 MB / 413.6 MB, free: 6.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001652/0.3115, allocations: 18.77 kB / 413.6 MB, free: 6.328 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006872/0.3122, allocations: 403.9 kB / 414 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004144/0.3126, allocations: 0.563 MB / 414.6 MB, free: 5.379 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006643/0.3193, allocations: 3.646 MB / 418.2 MB, free: 1.699 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05795/0.3772, allocations: 41.15 MB / 459.4 MB, free: 9.699 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007065/0.3843, allocations: 5.689 MB / 465.1 MB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.3861, allocations: 1.329 MB / 466.4 MB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.3863, allocations: 119.4 kB / 466.5 MB, free: 3.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.892e-05/0.3864, allocations: 84.88 kB / 466.6 MB, free: 3.359 MB / 378.7 MB Notification: Performance of pre-optimization done (n=447): time 7.725e-06/0.3864, allocations: 0 / 466.6 MB, free: 3.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=452): time 0.02346/0.4098, allocations: 10.67 MB / 477.2 MB, free: 8.762 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.4099, allocations: 98.95 kB / 477.3 MB, free: 8.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004244/0.4141, allocations: 3.766 MB / 481.1 MB, free: 5.441 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002901/0.4144, allocations: 97.7 kB / 481.2 MB, free: 5.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002396/0.4168, allocations: 4.638 MB / 485.8 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.26/0.6768, allocations: 1.649 MB / 487.5 MB, free: 88.74 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002163/0.6789, allocations: 1.343 MB / 488.8 MB, free: 88.69 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.679, allocations: 481.4 kB / 489.3 MB, free: 88.22 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.6803, allocations: 0.7384 MB / 490 MB, free: 88.2 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/0.6823, allocations: 3.992 MB / 494 MB, free: 84.4 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003612/0.6859, allocations: 5.369 MB / 499.4 MB, free: 80.65 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-05/0.686, allocations: 19.47 kB / 499.4 MB, free: 80.65 MB / 394.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.00679/0.6927, allocations: 5.153 MB / 0.4928 GB, free: 80.26 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.6928, allocations: 38.55 kB / 0.4928 GB, free: 80.26 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.159e-05/0.6929, allocations: 69.69 kB / 0.4929 GB, free: 80.26 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002298/0.6952, allocations: 1.231 MB / 0.4941 GB, free: 80.19 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/0.6977, allocations: 1.27 MB / 0.4953 GB, free: 80.19 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00721/0.7049, allocations: 8.369 MB / 0.5035 GB, free: 76.05 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/0.7083, allocations: 223.6 kB / 0.5037 GB, free: 76.03 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006013/0.7089, allocations: 244.7 kB / 0.5039 GB, free: 76.03 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002465/0.7114, allocations: 0.5525 MB / 0.5045 GB, free: 75.87 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009609/0.7123, allocations: 0.5998 MB / 0.505 GB, free: 75.62 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006296/0.7186, allocations: 5.149 MB / 0.5101 GB, free: 75.2 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00355/0.7222, allocations: 2.56 MB / 0.5126 GB, free: 75 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/0.7222, allocations: 11.69 kB / 0.5126 GB, free: 75 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.629e-05/0.7222, allocations: 23.81 kB / 0.5126 GB, free: 75 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/0.739, allocations: 11.52 MB / 0.5239 GB, free: 73.86 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.739, allocations: 7.5 kB / 0.5239 GB, free: 73.86 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/0.7406, allocations: 0.6967 MB / 0.5245 GB, free: 73.57 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002193/0.7428, allocations: 1.11 MB / 0.5256 GB, free: 72.81 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002531/0.7431, allocations: 98.55 kB / 0.5257 GB, free: 72.78 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006589/0.7497, allocations: 7.924 MB / 0.5335 GB, free: 66.95 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.7497, allocations: 12.03 kB / 0.5335 GB, free: 66.94 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006369/0.7561, allocations: 4.755 MB / 0.5381 GB, free: 62.82 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/0.7577, allocations: 0.8632 MB / 0.539 GB, free: 62.08 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003995/0.7581, allocations: 92 kB / 0.5391 GB, free: 61.99 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.7591, allocations: 115.6 kB / 0.5392 GB, free: 61.88 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005046/0.7596, allocations: 349.7 kB / 0.5395 GB, free: 61.71 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000177/0.7598, allocations: 103.6 kB / 0.5396 GB, free: 61.61 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001791/0.7616, allocations: 1.68 MB / 0.5412 GB, free: 60.41 MB / 394.8 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7616, allocations: 0 / 0.5412 GB, free: 60.41 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004536/0.7661, allocations: 1.712 MB / 0.5429 GB, free: 58.7 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001166/0.7673, allocations: 0.5348 MB / 0.5434 GB, free: 58.38 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.005564/0.7729, allocations: 4.205 MB / 0.5475 GB, free: 54.88 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.7729, allocations: 1.875 kB / 0.5475 GB, free: 54.88 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002769/0.7757, allocations: 2.337 MB / 0.5498 GB, free: 52.66 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/0.7788, allocations: 0.9626 MB / 0.5508 GB, free: 51.73 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02016/0.7989, allocations: 14.93 MB / 0.5653 GB, free: 36.7 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002855/0.8018, allocations: 2.742 MB / 0.568 GB, free: 33.93 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002541/0.8043, allocations: 0.7314 MB / 0.5687 GB, free: 33.2 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/0.8059, allocations: 1.021 MB / 0.5697 GB, free: 32.18 MB / 394.8 MB Notification: Performance of SimCode: time 2.144e-06/0.8059, allocations: 0 / 0.5697 GB, free: 32.18 MB / 394.8 MB Notification: Performance of Templates: time 0.2303/1.036, allocations: 71.76 MB / 0.6398 GB, free: 118.3 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.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: 6.283378947060555]