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.001311/0.001311, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001436/0.001436, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.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 0.001528/0.001528, allocations: 47.92 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2627, allocations: 53.38 MB / 432.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02712/0.2899, allocations: 21.48 MB / 453.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01805/0.3079, allocations: 7.747 MB / 461.6 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005068/0.313, allocations: 218.9 kB / 461.8 MB, free: 9.133 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02034/0.3333, allocations: 7.82 MB / 469.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.3443, allocations: 3.097 MB / 472.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006022/0.3503, allocations: 1.838 MB / 474.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01618/0.3665, allocations: 11.34 MB / 485.9 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0255/0.392, allocations: 14.66 MB / 0.4889 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00996/0.402, allocations: 6.083 MB / 0.4948 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01196/0.4139, allocations: 6.569 MB / 0.5012 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004658/0.4186, allocations: 1.711 MB / 0.5029 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008603/0.4272, allocations: 2.148 MB / 0.505 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005703/0.4329, allocations: 3.402 MB / 0.5083 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01096/0.4439, allocations: 4.915 MB / 0.5131 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03108/0.4749, allocations: 23.29 MB / 0.5358 GB, free: 1.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.475, allocations: 4 kB / 0.5359 GB, free: 1.926 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.475, allocations: 0 / 0.5359 GB, free: 1.926 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005658/0.4755, allocations: 0 / 0.5359 GB, free: 1.926 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.4572/0.9327, allocations: 13.56 MB / 0.5491 GB, free: 88.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.9328, allocations: 8.031 kB / 0.5491 GB, free: 88.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03407/0.9668, allocations: 6.256 MB / 0.5552 GB, free: 82.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01616/0.983, allocations: 7.367 MB / 0.5624 GB, free: 75.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005431/0.9835, allocations: 0.7144 MB / 0.5631 GB, free: 74.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003717/0.9873, allocations: 0.9515 MB / 0.564 GB, free: 73.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03283/1.02, allocations: 16.31 MB / 0.58 GB, free: 57.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002854/1.02, allocations: 23.83 kB / 0.58 GB, free: 56.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002138/1.023, allocations: 403.3 kB / 0.5804 GB, free: 56.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004025/1.023, allocations: 0.5591 MB / 0.5809 GB, free: 56.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02509/1.048, allocations: 15.07 MB / 0.5956 GB, free: 40.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07091/1.119, allocations: 45.4 MB / 0.64 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01743/1.136, allocations: 8.539 MB / 0.6483 GB, free: 3.035 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006315/1.143, allocations: 3.316 MB / 0.6515 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000511/1.143, allocations: 115.4 kB / 0.6516 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.157e-05/1.143, allocations: 82.06 kB / 0.6517 GB, free: 15.51 MB / 478.1 MB Notification: Performance of pre-optimization done (n=447): time 7.985e-06/1.143, allocations: 0 / 0.6517 GB, free: 15.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.05453/1.198, allocations: 20.34 MB / 0.6716 GB, free: 11.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.966e-05/1.198, allocations: 98.95 kB / 0.6717 GB, free: 11.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006948/1.205, allocations: 4.42 MB / 0.676 GB, free: 6.613 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007957/1.206, allocations: 97.7 kB / 0.6761 GB, free: 6.512 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003449/1.209, allocations: 4.344 MB / 0.6803 GB, free: 2.129 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002093/1.211, allocations: 1.611 MB / 0.6819 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002238/1.213, allocations: 1.204 MB / 0.6831 GB, free: 15.29 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.214, allocations: 309.1 kB / 0.6834 GB, free: 14.98 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005183/1.219, allocations: 3.057 MB / 0.6864 GB, free: 11.92 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00758/1.226, allocations: 5.239 MB / 0.6915 GB, free: 5.703 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/1.24, allocations: 8.872 MB / 0.7001 GB, free: 11.86 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.823e-05/1.24, allocations: 20 kB / 0.7002 GB, free: 11.84 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01961/1.26, allocations: 9.829 MB / 0.7098 GB, free: 1.988 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.921e-05/1.26, allocations: 39.12 kB / 0.7098 GB, free: 1.953 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001346/1.26, allocations: 68 kB / 0.7099 GB, free: 1.887 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004052/1.264, allocations: 1.371 MB / 0.7112 GB, free: 0.5117 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006093/1.27, allocations: 1.384 MB / 0.7126 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01947/1.29, allocations: 12.06 MB / 0.7243 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004762/1.295, allocations: 355.6 kB / 0.7247 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/1.296, allocations: 296 kB / 0.725 GB, free: 2.207 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.007258/1.303, allocations: 3.892 MB / 0.7288 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/1.304, allocations: 472.9 kB / 0.7292 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01601/1.32, allocations: 8.412 MB / 0.7374 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2778/1.598, allocations: 6.19 MB / 0.7435 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.654e-05/1.598, allocations: 17.88 kB / 0.7435 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001366/1.598, allocations: 22.45 kB / 0.7435 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03149/1.63, allocations: 14.96 MB / 0.7581 GB, free: 173.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-05/1.63, allocations: 6.875 kB / 0.7581 GB, free: 173.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003879/1.634, allocations: 0.8159 MB / 0.7589 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003681/1.637, allocations: 1.249 MB / 0.7601 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008481/1.638, allocations: 106.2 kB / 0.7602 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01318/1.651, allocations: 10.97 MB / 0.771 GB, free: 166.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.651, allocations: 18.42 kB / 0.771 GB, free: 166.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/1.667, allocations: 11.14 MB / 0.7819 GB, free: 159.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003196/1.67, allocations: 1.044 MB / 0.7829 GB, free: 159 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/1.671, allocations: 87.42 kB / 0.783 GB, free: 159 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002729/1.674, allocations: 232 kB / 0.7832 GB, free: 158.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000701/1.675, allocations: 352.2 kB / 0.7835 GB, free: 158.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003013/1.675, allocations: 142.3 kB / 0.7836 GB, free: 158.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003958/1.679, allocations: 2.951 MB / 0.7865 GB, free: 156.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.679, allocations: 0 / 0.7865 GB, free: 156.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006752/1.686, allocations: 1.717 MB / 0.7882 GB, free: 154.3 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.002326/1.688, allocations: 0.5415 MB / 0.7887 GB, free: 154 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01213/1.7, allocations: 7.659 MB / 0.7962 GB, free: 146.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/1.7, allocations: 4 kB / 0.7962 GB, free: 146.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006693/1.707, allocations: 3.682 MB / 0.7998 GB, free: 143.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005595/1.712, allocations: 0.9642 MB / 0.8008 GB, free: 142.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02767/1.74, allocations: 18.06 MB / 0.8184 GB, free: 124 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006125/1.746, allocations: 5.884 MB / 0.8241 GB, free: 118.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001873/1.748, allocations: 443.3 kB / 0.8246 GB, free: 117.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.452e-06/1.748, allocations: 0 / 0.8246 GB, free: 117.6 MB / 0.545 GB Notification: Performance of Templates: time 0.4789/2.227, allocations: 231.9 MB / 1.051 GB, free: 107.6 MB / 0.5607 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.701316860009683]