Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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.00147/0.00147, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.001649/0.001649, allocations: 153.4 kB / 24.25 MB, free: 184 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.459/1.459, allocations: 173.4 MB / 200.8 MB, free: 9.309 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 267.4 MB, free: 6.676 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.564e-05, allocations: 2.312 kB / 267.4 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01848/0.0185, allocations: 11.97 MB / 279.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.02919, allocations: 4.731 MB / 284.1 MB, free: 5.891 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002352/0.03154, allocations: 99.38 kB / 284.2 MB, free: 5.793 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004096/0.03564, allocations: 1.033 MB / 285.2 MB, free: 4.754 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005718/0.04135, allocations: 1.479 MB / 286.7 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003299/0.04465, allocations: 0.9574 MB / 287.6 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1198/0.1644, allocations: 4.49 MB / 292.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002632/0.167, allocations: 1.781 MB / 293.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00437/0.1714, allocations: 2.996 MB / 296.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003324/0.1747, allocations: 1.943 MB / 298.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001031/0.1758, allocations: 0.533 MB / 299.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.1777, allocations: 0.8925 MB / 300.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.1788, allocations: 1.409 MB / 301.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.1807, allocations: 1.568 MB / 303.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005756/0.1865, allocations: 7.405 MB / 310.7 MB, free: 9.809 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1865, allocations: 0 / 310.7 MB, free: 9.809 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1865, allocations: 0 / 310.7 MB, free: 9.809 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000165/0.1866, allocations: 3.938 kB / 310.7 MB, free: 9.809 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.0105/0.1971, allocations: 4.972 MB / 315.6 MB, free: 6.453 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1972, allocations: 9.828 kB / 315.6 MB, free: 6.453 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004375/0.2016, allocations: 1.328 MB / 317 MB, free: 5.164 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004085/0.2056, allocations: 2.828 MB / 319.8 MB, free: 2.395 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.2058, allocations: 247.1 kB / 320 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004301/0.2062, allocations: 339.9 kB / 320.4 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008195/0.2144, allocations: 4.703 MB / 325.1 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.069e-05/0.2145, allocations: 3.938 kB / 325.1 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003699/0.2148, allocations: 132 kB / 325.2 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001994/0.215, allocations: 158.7 kB / 325.4 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00772/0.2227, allocations: 3.903 MB / 329.3 MB, free: 8.855 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02496/0.2477, allocations: 12.34 MB / 341.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006652/0.2544, allocations: 2.979 MB / 344.6 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003271/0.2576, allocations: 1.575 MB / 346.2 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008149/0.2658, allocations: 3.599 MB / 349.8 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.659e-05/0.2658, allocations: 51.88 kB / 349.8 MB, free: 4.566 MB / 298.7 MB Notification: Performance of pre-optimization done (n=165): time 4.007e-06/0.2658, allocations: 0 / 349.8 MB, free: 4.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=185): time 0.01909/0.2849, allocations: 7.456 MB / 357.3 MB, free: 13.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.285, allocations: 69.41 kB / 357.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003828/0.2888, allocations: 2.422 MB / 359.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001637/0.289, allocations: 57.7 kB / 359.8 MB, free: 10.53 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001781/0.2908, allocations: 1.667 MB / 361.5 MB, free: 8.848 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007244/0.2915, allocations: 0.644 MB / 362.1 MB, free: 8.211 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006324/0.2921, allocations: 331.5 kB / 362.4 MB, free: 7.883 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2923, allocations: 301.1 kB / 362.7 MB, free: 7.586 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/0.2941, allocations: 0.9097 MB / 363.6 MB, free: 6.676 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/0.2963, allocations: 1.333 MB / 365 MB, free: 5.188 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004182/0.3005, allocations: 2.352 MB / 367.3 MB, free: 2.734 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.3005, allocations: 0 / 367.3 MB, free: 2.734 MB / 314.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006806/0.3073, allocations: 3.135 MB / 370.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.3074, allocations: 8 kB / 370.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/0.3074, allocations: 15.94 kB / 370.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00213/0.3095, allocations: 0.6538 MB / 371.1 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.3114, allocations: 428.4 kB / 371.6 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/0.3228, allocations: 7.268 MB / 378.8 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.3245, allocations: 87.89 kB / 378.9 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/0.3247, allocations: 75.97 kB / 379 MB, free: 7.012 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (198): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002179/0.3269, allocations: 1.157 MB / 380.1 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006803/0.3276, allocations: 306.4 kB / 380.4 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006305/0.3339, allocations: 2.855 MB / 383.3 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.773e-05/0.3339, allocations: 20 kB / 383.3 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.3339, allocations: 8 kB / 383.3 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.147e-05/0.334, allocations: 11.97 kB / 383.3 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/0.3455, allocations: 5.475 MB / 388.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.3455, allocations: 0 / 388.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.347, allocations: 282.6 kB / 389.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002472/0.3495, allocations: 0.7254 MB / 389.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000194/0.3497, allocations: 43.98 kB / 389.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0152/0.3649, allocations: 10.85 MB / 400.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.3649, allocations: 3.75 kB / 400.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009138/0.374, allocations: 4.183 MB / 404.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/0.3757, allocations: 470.2 kB / 405.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/0.376, allocations: 36 kB / 405.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.3772, allocations: 87.86 kB / 405.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004282/0.3776, allocations: 149.1 kB / 405.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/0.3778, allocations: 51.98 kB / 405.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002894/0.3807, allocations: 1.685 MB / 407.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3807, allocations: 0 / 407.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002687/0.3833, allocations: 0.6874 MB / 408 MB, free: 9.617 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi,PI.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 (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002017/0.3854, allocations: 480.4 kB / 408.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005955/0.3913, allocations: 2.735 MB / 411.3 MB, free: 6.609 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3913, allocations: 0 / 411.3 MB, free: 6.609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003775/0.3951, allocations: 1.846 MB / 413.1 MB, free: 4.742 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/0.3979, allocations: 0.4942 MB / 413.6 MB, free: 4.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.4121, allocations: 7.067 MB / 420.7 MB, free: 13.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003094/0.4152, allocations: 2.067 MB / 422.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001882/0.4171, allocations: 487 kB / 423.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005759/0.4177, allocations: 160.5 kB / 423.4 MB, free: 10.4 MB / 378.7 MB Notification: Performance of SimCode: time 2.154e-06/0.4177, allocations: 0 / 423.4 MB, free: 10.4 MB / 378.7 MB Notification: Performance of Templates: time 0.16/0.5777, allocations: 35.08 MB / 458.4 MB, free: 114.2 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.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/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.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: 7.294630439952016]