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.002393/0.002393, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.001933/0.001933, allocations: 149.1 kB / 24.26 MB, free: 172 kB / 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 1.571/1.571, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 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 2.024e-06/2.024e-06, allocations: 0 / 267.4 MB, free: 6.691 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.974e-05, allocations: 2.312 kB / 267.4 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1624/0.1625, allocations: 24.22 MB / 291.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01901/0.1815, allocations: 7.746 MB / 299.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006993/0.1885, allocations: 216.5 kB / 299.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02112/0.2096, allocations: 8.929 MB / 308.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.2208, allocations: 3.118 MB / 311.6 MB, free: 9.918 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005385/0.2262, allocations: 1.835 MB / 313.4 MB, free: 8.703 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01272/0.2389, allocations: 11.58 MB / 325 MB, free: 1.195 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02829/0.2672, allocations: 14.53 MB / 339.5 MB, free: 2.637 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02177/0.2889, allocations: 8.963 MB / 348.5 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01361/0.3026, allocations: 6.215 MB / 354.7 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005263/0.3078, allocations: 1.711 MB / 356.4 MB, free: 1.723 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008058/0.3159, allocations: 2.128 MB / 358.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005837/0.3217, allocations: 3.523 MB / 362.1 MB, free: 12.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01139/0.3331, allocations: 4.281 MB / 366.4 MB, free: 7.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03342/0.3665, allocations: 23.61 MB / 390 MB, free: 96 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3665, allocations: 0 / 390 MB, free: 96 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3665, allocations: 0 / 390 MB, free: 96 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005874/0.3671, allocations: 0 / 390 MB, free: 96 kB / 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.06633/0.4334, allocations: 15.55 MB / 405.5 MB, free: 448 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.4335, allocations: 8.922 kB / 405.5 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06708/0.5006, allocations: 7.919 MB / 413.5 MB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02035/0.5209, allocations: 7.006 MB / 420.5 MB, free: 1.402 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00103/0.522, allocations: 0.7185 MB / 421.2 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004627/0.5266, allocations: 0.9453 MB / 422.1 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3234/0.85, allocations: 16.59 MB / 438.7 MB, free: 102.7 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004493/0.8504, allocations: 13.69 kB / 438.7 MB, free: 102.7 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003413/0.8539, allocations: 400.1 kB / 439.1 MB, free: 102.7 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007537/0.8546, allocations: 0.563 MB / 439.7 MB, free: 102.7 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03156/0.8862, allocations: 13.38 MB / 453.1 MB, free: 100.7 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1074/0.9935, allocations: 104.8 MB / 0.5448 GB, free: 1.547 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01712/1.011, allocations: 7.967 MB / 0.5525 GB, free: 10.33 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006241/1.017, allocations: 2.884 MB / 0.5554 GB, free: 7.449 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004765/1.017, allocations: 115.4 kB / 0.5555 GB, free: 7.336 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.5e-05/1.017, allocations: 84.83 kB / 0.5556 GB, free: 7.242 MB / 394.8 MB Notification: Performance of pre-optimization done (n=447): time 7.364e-06/1.017, allocations: 0 / 0.5556 GB, free: 7.242 MB / 394.8 MB Notification: Performance of matching and sorting (n=452): time 0.05425/1.072, allocations: 18.2 MB / 0.5733 GB, free: 5.391 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.6e-05/1.072, allocations: 94.95 kB / 0.5734 GB, free: 5.285 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2137/1.285, allocations: 5.892 MB / 0.5792 GB, free: 116.1 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009491/1.286, allocations: 95.08 kB / 0.5793 GB, free: 116.1 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005171/1.292, allocations: 4.911 MB / 0.5841 GB, free: 115 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002787/1.294, allocations: 1.841 MB / 0.5859 GB, free: 114 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002829/1.297, allocations: 1.586 MB / 0.5874 GB, free: 113.9 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.785e-05/1.297, allocations: 477.8 kB / 0.5879 GB, free: 113.4 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004565/1.302, allocations: 2.501 MB / 0.5903 GB, free: 113.4 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005836/1.308, allocations: 6.004 MB / 0.5962 GB, free: 109.6 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/1.318, allocations: 9.601 MB / 0.6055 GB, free: 105.6 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000106/1.318, allocations: 19.66 kB / 0.6056 GB, free: 105.6 MB / 410.8 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01482/1.333, allocations: 9.045 MB / 0.6144 GB, free: 103.1 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.366e-05/1.333, allocations: 36 kB / 0.6144 GB, free: 103.1 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001531/1.333, allocations: 69.5 kB / 0.6145 GB, free: 103.1 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004576/1.337, allocations: 1.593 MB / 0.616 GB, free: 102.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005777/1.343, allocations: 1.378 MB / 0.6174 GB, free: 102.7 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01901/1.362, allocations: 13.43 MB / 0.6305 GB, free: 94.28 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006758/1.369, allocations: 348.5 kB / 0.6308 GB, free: 94.17 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002319/1.371, allocations: 294.6 kB / 0.6311 GB, free: 94.12 MB / 410.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.0085/1.38, allocations: 3.502 MB / 0.6345 GB, free: 92.21 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00219/1.382, allocations: 0.5993 MB / 0.6351 GB, free: 91.91 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01566/1.398, allocations: 8.566 MB / 0.6435 GB, free: 86.77 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01306/1.411, allocations: 5.301 MB / 0.6487 GB, free: 81.45 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.102e-05/1.411, allocations: 15.88 kB / 0.6487 GB, free: 81.43 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.018e-05/1.411, allocations: 19.92 kB / 0.6487 GB, free: 81.41 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05464/1.466, allocations: 18.99 MB / 0.6672 GB, free: 62.21 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-05/1.466, allocations: 8 kB / 0.6672 GB, free: 62.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004418/1.47, allocations: 0.8004 MB / 0.668 GB, free: 61.4 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0058/1.476, allocations: 1.442 MB / 0.6694 GB, free: 59.95 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005662/1.476, allocations: 107.6 kB / 0.6695 GB, free: 59.85 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01896/1.495, allocations: 12.37 MB / 0.6816 GB, free: 47.26 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/1.495, allocations: 15.94 kB / 0.6816 GB, free: 47.25 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02005/1.515, allocations: 9.621 MB / 0.691 GB, free: 37.44 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003926/1.519, allocations: 0.9457 MB / 0.692 GB, free: 36.49 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001017/1.52, allocations: 84 kB / 0.692 GB, free: 36.41 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002384/1.523, allocations: 235.7 kB / 0.6923 GB, free: 36.18 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006837/1.523, allocations: 347.3 kB / 0.6926 GB, free: 35.84 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002577/1.524, allocations: 136 kB / 0.6927 GB, free: 35.71 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003899/1.528, allocations: 3.071 MB / 0.6957 GB, free: 32.66 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/1.528, allocations: 0 / 0.6957 GB, free: 32.66 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.006572/1.534, allocations: 1.715 MB / 0.6974 GB, free: 30.94 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.003003/1.537, allocations: 0.5822 MB / 0.698 GB, free: 30.55 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01222/1.549, allocations: 7.451 MB / 0.7052 GB, free: 23.05 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.975e-05/1.549, allocations: 4 kB / 0.7052 GB, free: 23.05 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006197/1.556, allocations: 3.678 MB / 0.7088 GB, free: 19.33 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006457/1.562, allocations: 0.9744 MB / 0.7098 GB, free: 18.38 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2015/1.764, allocations: 17.06 MB / 0.7264 GB, free: 99.59 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0118/1.775, allocations: 5.523 MB / 0.7318 GB, free: 99.12 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.005562/1.781, allocations: 1.768 MB / 0.7336 GB, free: 99.05 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001529/1.782, allocations: 373.5 kB / 0.7339 GB, free: 99.05 MB / 410.8 MB Notification: Performance of SimCode: time 1.753e-06/1.782, allocations: 3.969 kB / 0.7339 GB, free: 99.05 MB / 410.8 MB Notification: Performance of Templates: time 0.1106/1.893, allocations: 65.63 MB / 0.798 GB, free: 62.34 MB / 410.8 MB " [Timeout remaining time 658] 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","/var/lib/jenkins/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: 10.343295771977864]