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.001724/0.001724, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.001979/0.001979, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 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 1.451/1.451, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001839/0.001839, allocations: 43.94 kB / 371.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2897, allocations: 52.18 MB / 423.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02908/0.3188, allocations: 21.44 MB / 445.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01956/0.3384, allocations: 7.529 MB / 452.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006316/0.3447, allocations: 214.9 kB / 453.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02122/0.3659, allocations: 7.819 MB / 460.9 MB, free: 9.305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01326/0.3792, allocations: 3.031 MB / 463.9 MB, free: 6.262 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006997/0.3862, allocations: 1.796 MB / 465.7 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.017/0.4032, allocations: 11.23 MB / 476.9 MB, free: 9.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03257/0.4357, allocations: 14.46 MB / 491.4 MB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01098/0.4467, allocations: 6.079 MB / 497.5 MB, free: 4.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01272/0.4594, allocations: 6.221 MB / 0.4919 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005313/0.4647, allocations: 1.715 MB / 0.4936 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007961/0.4727, allocations: 2.109 MB / 0.4956 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006997/0.4797, allocations: 3.402 MB / 0.4989 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01242/0.4921, allocations: 4.907 MB / 0.5037 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03666/0.5288, allocations: 23.26 MB / 0.5265 GB, free: 10.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.5288, allocations: 0 / 0.5265 GB, free: 10.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.5288, allocations: 0 / 0.5265 GB, free: 10.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007474/0.5295, allocations: 0 / 0.5265 GB, free: 10.78 MB / 446.1 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.509/1.038, allocations: 13.53 MB / 0.5397 GB, free: 93.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/1.039, allocations: 10.42 kB / 0.5397 GB, free: 93.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03549/1.074, allocations: 6.323 MB / 0.5459 GB, free: 92.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01667/1.091, allocations: 7.346 MB / 0.553 GB, free: 86.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007119/1.091, allocations: 0.7182 MB / 0.5537 GB, free: 85.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004611/1.096, allocations: 0.9476 MB / 0.5547 GB, free: 84.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04337/1.139, allocations: 16.28 MB / 0.5705 GB, free: 68.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005809/1.14, allocations: 19.89 kB / 0.5706 GB, free: 68.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004366/1.144, allocations: 403.6 kB / 0.5709 GB, free: 68.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006604/1.145, allocations: 0.5552 MB / 0.5715 GB, free: 67.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03371/1.179, allocations: 15.03 MB / 0.5862 GB, free: 52.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08588/1.265, allocations: 45.33 MB / 0.6304 GB, free: 6.801 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01545/1.28, allocations: 8.518 MB / 0.6388 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00984/1.29, allocations: 3.309 MB / 0.642 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006475/1.291, allocations: 91.44 kB / 0.6421 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/1.291, allocations: 82.06 kB / 0.6422 GB, free: 11.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=447): time 9.808e-06/1.291, allocations: 0 / 0.6422 GB, free: 11.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=452): time 0.06102/1.352, allocations: 20.29 MB / 0.662 GB, free: 7.359 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.446e-05/1.352, allocations: 98.95 kB / 0.6621 GB, free: 7.25 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009167/1.361, allocations: 4.399 MB / 0.6664 GB, free: 2.867 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009512/1.362, allocations: 97.7 kB / 0.6665 GB, free: 2.766 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004003/1.366, allocations: 4.336 MB / 0.6707 GB, free: 14.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002416/1.368, allocations: 1.611 MB / 0.6723 GB, free: 12.76 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003959/1.372, allocations: 1.2 MB / 0.6734 GB, free: 11.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/1.372, allocations: 304.9 kB / 0.6737 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006217/1.379, allocations: 3.057 MB / 0.6767 GB, free: 8.191 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008698/1.387, allocations: 5.227 MB / 0.6818 GB, free: 1.984 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01638/1.404, allocations: 8.856 MB / 0.6905 GB, free: 8.156 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001505/1.404, allocations: 20 kB / 0.6905 GB, free: 8.137 MB / 0.4982 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02226/1.426, allocations: 9.798 MB / 0.7001 GB, free: 14.32 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/1.426, allocations: 32 kB / 0.7001 GB, free: 14.29 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001825/1.426, allocations: 71.94 kB / 0.7002 GB, free: 14.21 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004204/1.431, allocations: 1.375 MB / 0.7015 GB, free: 12.84 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005699/1.436, allocations: 1.381 MB / 0.7028 GB, free: 11.45 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02079/1.457, allocations: 12.05 MB / 0.7146 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005324/1.462, allocations: 359.6 kB / 0.715 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/1.464, allocations: 288 kB / 0.7152 GB, free: 14.56 MB / 0.5294 GB 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.009187/1.473, allocations: 3.888 MB / 0.719 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001849/1.475, allocations: 469 kB / 0.7195 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01715/1.492, allocations: 8.423 MB / 0.7277 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01182/1.504, allocations: 6.17 MB / 0.7337 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-05/1.504, allocations: 12 kB / 0.7337 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.666e-05/1.504, allocations: 19.92 kB / 0.7338 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3399/1.844, allocations: 14.92 MB / 0.7483 GB, free: 184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.549e-05/1.844, allocations: 7 kB / 0.7483 GB, free: 184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003367/1.847, allocations: 0.8086 MB / 0.7491 GB, free: 183.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003214/1.85, allocations: 1.253 MB / 0.7503 GB, free: 183.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000587/1.851, allocations: 109.3 kB / 0.7504 GB, free: 183.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01386/1.865, allocations: 10.96 MB / 0.7612 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.865, allocations: 7.406 kB / 0.7612 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01721/1.882, allocations: 11.12 MB / 0.772 GB, free: 173.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003168/1.885, allocations: 1.025 MB / 0.773 GB, free: 173.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009393/1.886, allocations: 91.8 kB / 0.7731 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00249/1.889, allocations: 235.5 kB / 0.7733 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006891/1.889, allocations: 350.8 kB / 0.7737 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002614/1.89, allocations: 135.5 kB / 0.7738 GB, free: 173 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004194/1.894, allocations: 2.94 MB / 0.7767 GB, free: 172 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/1.894, allocations: 0 / 0.7767 GB, free: 172 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007159/1.901, allocations: 1.718 MB / 0.7783 GB, free: 170.6 MB / 0.545 GB 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.002313/1.903, allocations: 0.5638 MB / 0.7789 GB, free: 170.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01262/1.916, allocations: 7.644 MB / 0.7864 GB, free: 163.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.75e-05/1.916, allocations: 0 / 0.7864 GB, free: 163.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008351/1.924, allocations: 3.676 MB / 0.79 GB, free: 160.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008999/1.933, allocations: 0.9487 MB / 0.7909 GB, free: 159.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03975/1.973, allocations: 18.12 MB / 0.8086 GB, free: 142.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006531/1.98, allocations: 5.883 MB / 0.8143 GB, free: 136.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002031/1.982, allocations: 411.3 kB / 0.8147 GB, free: 135.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.974e-06/1.982, allocations: 0 / 0.8147 GB, free: 135.8 MB / 0.545 GB Notification: Performance of Templates: time 0.5473/2.529, allocations: 230.1 MB / 1.039 GB, free: 130.9 MB / 0.5607 GB " [Timeout remaining time 657] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 19.737363514024764]