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_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.001655/0.001655, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001871/0.001871, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1/1, allocations: 177.1 MB / 205 MB, free: 5.602 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_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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 273 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.869e-05, allocations: 2.312 kB / 273 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1573/0.1573, allocations: 24.47 MB / 297.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01621/0.1735, allocations: 7.97 MB / 305.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006153/0.1796, allocations: 217.7 kB / 305.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01259/0.1922, allocations: 8.971 MB / 314.7 MB, free: 6.637 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009858/0.2021, allocations: 3.176 MB / 317.8 MB, free: 4.141 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004392/0.2065, allocations: 1.836 MB / 319.7 MB, free: 2.715 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01301/0.2195, allocations: 11.71 MB / 331.4 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02206/0.2416, allocations: 14.53 MB / 345.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01668/0.2582, allocations: 8.975 MB / 354.9 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01125/0.2695, allocations: 6.246 MB / 361.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005701/0.2752, allocations: 1.715 MB / 362.8 MB, free: 8.738 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008349/0.2835, allocations: 2.159 MB / 365 MB, free: 6.578 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006121/0.2897, allocations: 3.511 MB / 368.5 MB, free: 3.059 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01262/0.3023, allocations: 4.285 MB / 372.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02307/0.3253, allocations: 10.88 MB / 383.7 MB, free: 3.852 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.3254, allocations: 4 kB / 383.7 MB, free: 3.848 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3254, allocations: 0 / 383.7 MB, free: 3.848 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005242/0.3259, allocations: 0 / 383.7 MB, free: 3.848 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.0266/0.3525, allocations: 14.38 MB / 398.1 MB, free: 5.359 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.3525, allocations: 12.03 kB / 398.1 MB, free: 5.348 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02145/0.374, allocations: 7.845 MB / 405.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/0.3854, allocations: 7.007 MB / 412.9 MB, free: 6.391 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005505/0.386, allocations: 0.7185 MB / 413.6 MB, free: 5.672 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003195/0.3892, allocations: 0.9491 MB / 414.6 MB, free: 4.723 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0237/0.4129, allocations: 8.484 MB / 423.1 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000243/0.4131, allocations: 7.953 kB / 423.1 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001238/0.4143, allocations: 404 kB / 423.5 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005546/0.4149, allocations: 0.563 MB / 424 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02323/0.4381, allocations: 4.712 MB / 428.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3379/0.776, allocations: 41.78 MB / 470.5 MB, free: 71.42 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/0.7868, allocations: 6.688 MB / 477.2 MB, free: 69.96 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002719/0.7895, allocations: 1.548 MB / 478.8 MB, free: 69.64 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003015/0.7898, allocations: 144.9 kB / 478.9 MB, free: 69.62 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/0.7899, allocations: 81.55 kB / 479 MB, free: 69.55 MB / 378.8 MB Notification: Performance of pre-optimization done (n=447): time 7.344e-06/0.7899, allocations: 0 / 479 MB, free: 69.55 MB / 378.8 MB Notification: Performance of matching and sorting (n=452): time 0.02498/0.8149, allocations: 12.72 MB / 491.7 MB, free: 58.68 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.8149, allocations: 98.42 kB / 491.8 MB, free: 58.58 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004029/0.8189, allocations: 3.864 MB / 495.7 MB, free: 54.82 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005774/0.8195, allocations: 101.7 kB / 495.8 MB, free: 54.72 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001725/0.8212, allocations: 4.602 MB / 0.4886 GB, free: 50.78 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001118/0.8223, allocations: 1.641 MB / 0.4902 GB, free: 49.27 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001267/0.8236, allocations: 1.336 MB / 0.4915 GB, free: 47.92 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.602e-05/0.8236, allocations: 476.8 kB / 0.492 GB, free: 47.45 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.8253, allocations: 0.9685 MB / 0.493 GB, free: 46.48 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002655/0.8279, allocations: 4.199 MB / 0.4971 GB, free: 40.98 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005063/0.833, allocations: 5.78 MB / 0.5027 GB, free: 34.16 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.114e-05/0.8331, allocations: 20 kB / 0.5027 GB, free: 34.14 MB / 378.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.008672/0.8417, allocations: 5.727 MB / 0.5083 GB, free: 28.87 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.535e-05/0.8418, allocations: 36.34 kB / 0.5083 GB, free: 28.84 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-05/0.8419, allocations: 72 kB / 0.5084 GB, free: 28.77 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002559/0.8444, allocations: 1.269 MB / 0.5096 GB, free: 27.49 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/0.8473, allocations: 1.387 MB / 0.511 GB, free: 26.2 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008039/0.8554, allocations: 8.762 MB / 0.5196 GB, free: 17.27 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003187/0.8586, allocations: 347.6 kB / 0.5199 GB, free: 16.93 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005056/0.8591, allocations: 300 kB / 0.5202 GB, free: 16.63 MB / 378.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.002388/0.8614, allocations: 0.5458 MB / 0.5207 GB, free: 16.17 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008378/0.8623, allocations: 0.6018 MB / 0.5213 GB, free: 15.57 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006385/0.8687, allocations: 5.46 MB / 0.5266 GB, free: 10.08 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004226/0.8729, allocations: 2.983 MB / 0.5295 GB, free: 7.121 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.8729, allocations: 12 kB / 0.5296 GB, free: 7.109 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.478e-05/0.8729, allocations: 19.92 kB / 0.5296 GB, free: 7.09 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01811/0.891, allocations: 12.06 MB / 0.5414 GB, free: 11.06 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/0.8911, allocations: 8 kB / 0.5414 GB, free: 11.05 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/0.8929, allocations: 0.8019 MB / 0.5421 GB, free: 10.29 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002471/0.8954, allocations: 1.152 MB / 0.5433 GB, free: 9.133 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002849/0.8956, allocations: 112 kB / 0.5434 GB, free: 9.023 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008138/0.9038, allocations: 8.268 MB / 0.5514 GB, free: 0.5625 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.9038, allocations: 11.19 kB / 0.5515 GB, free: 0.5547 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008468/0.9123, allocations: 5.378 MB / 0.5567 GB, free: 11.04 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002192/0.9144, allocations: 0.9535 MB / 0.5576 GB, free: 10.09 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004462/0.9149, allocations: 87.19 kB / 0.5577 GB, free: 10 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.9161, allocations: 231.8 kB / 0.5579 GB, free: 9.777 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000521/0.9166, allocations: 345.6 kB / 0.5583 GB, free: 9.445 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002008/0.9168, allocations: 144 kB / 0.5584 GB, free: 9.305 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002571/0.9194, allocations: 1.857 MB / 0.5602 GB, free: 7.469 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.9194, allocations: 0 / 0.5602 GB, free: 7.469 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005119/0.9245, allocations: 1.719 MB / 0.5619 GB, free: 5.75 MB / 410.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.001341/0.9258, allocations: 0.5294 MB / 0.5624 GB, free: 5.422 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.007827/0.9337, allocations: 4.658 MB / 0.567 GB, free: 0.9492 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.9337, allocations: 0 / 0.567 GB, free: 0.9492 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003808/0.9375, allocations: 2.549 MB / 0.5695 GB, free: 14.45 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003303/0.9408, allocations: 0.9795 MB / 0.5704 GB, free: 13.5 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1612/1.102, allocations: 15.04 MB / 0.5851 GB, free: 123.1 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004446/1.106, allocations: 2.752 MB / 0.5878 GB, free: 122.8 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.004169/1.111, allocations: 1.763 MB / 0.5895 GB, free: 122.7 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.112, allocations: 396.3 kB / 0.5899 GB, free: 122.7 MB / 426.8 MB Notification: Performance of SimCode: time 2.004e-06/1.112, allocations: 0 / 0.5899 GB, free: 122.7 MB / 426.8 MB Notification: Performance of Templates: time 0.08208/1.194, allocations: 66.46 MB / 0.6548 GB, free: 75.46 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.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.1.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.688901874702424]