Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.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.001523/0.001523, allocations: 83.69 kB / 21.19 MB, free: 3.391 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.001132/0.001132, allocations: 165 kB / 24.56 MB, free: 20 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 0.9653/0.9653, allocations: 177.1 MB / 205 MB, free: 5.266 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.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.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..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.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.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.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..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.[0-9,]+.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 273 MB, free: 1.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.97e-05, allocations: 2.312 kB / 273 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01804/0.01807, allocations: 14.14 MB / 287.2 MB, free: 3.137 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1454/0.1635, allocations: 5.281 MB / 292.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002982/0.1665, allocations: 103.3 kB / 292.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003227/0.1697, allocations: 1.057 MB / 293.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003888/0.1736, allocations: 1.513 MB / 295.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.1756, allocations: 1.021 MB / 296.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004403/0.18, allocations: 4.564 MB / 300.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002256/0.1822, allocations: 1.8 MB / 302.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003701/0.1859, allocations: 3.041 MB / 305.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002837/0.1888, allocations: 2.126 MB / 307.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008687/0.1896, allocations: 0.5326 MB / 308.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.1912, allocations: 0.9091 MB / 309.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007265/0.1919, allocations: 1.432 MB / 310.5 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.1935, allocations: 1.588 MB / 312.1 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003443/0.1969, allocations: 3.951 MB / 316.1 MB, free: 5.133 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1969, allocations: 0 / 316.1 MB, free: 5.133 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1969, allocations: 0 / 316.1 MB, free: 5.133 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001155/0.197, allocations: 0 / 316.1 MB, free: 5.133 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.006398/0.2034, allocations: 5.305 MB / 321.4 MB, free: 15.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.2035, allocations: 8.031 kB / 321.4 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002917/0.2064, allocations: 1.334 MB / 322.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003232/0.2096, allocations: 2.614 MB / 325.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.2098, allocations: 251.1 kB / 325.6 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/0.2101, allocations: 334.9 kB / 325.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003718/0.2138, allocations: 2.725 MB / 328.6 MB, free: 8.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.382e-05/0.2139, allocations: 3.953 kB / 328.6 MB, free: 8.504 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/0.2141, allocations: 146.2 kB / 328.8 MB, free: 8.367 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.2142, allocations: 154.7 kB / 328.9 MB, free: 8.215 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.2167, allocations: 1.294 MB / 330.2 MB, free: 6.918 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01238/0.2291, allocations: 11.23 MB / 341.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003186/0.2323, allocations: 2.239 MB / 343.7 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.2335, allocations: 0.9325 MB / 344.6 MB, free: 8.559 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003984/0.2375, allocations: 2.732 MB / 347.4 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.2376, allocations: 54.7 kB / 347.4 MB, free: 5.789 MB / 298.7 MB Notification: Performance of pre-optimization done (n=165): time 3.216e-06/0.2376, allocations: 0 / 347.4 MB, free: 5.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=185): time 0.00855/0.2461, allocations: 4.951 MB / 352.4 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.2462, allocations: 73.41 kB / 352.4 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/0.2483, allocations: 1.982 MB / 354.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.888e-05/0.2483, allocations: 53.7 kB / 354.5 MB, free: 14.63 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009082/0.2492, allocations: 1.794 MB / 356.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004183/0.2497, allocations: 0.6668 MB / 356.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004011/0.2501, allocations: 368.5 kB / 357.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2502, allocations: 480.8 kB / 357.8 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005676/0.2507, allocations: 323.8 kB / 358.1 MB, free: 11.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008431/0.2516, allocations: 0.8965 MB / 359 MB, free: 9.902 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.2532, allocations: 1.349 MB / 360.3 MB, free: 8.355 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.2532, allocations: 4 kB / 360.3 MB, free: 8.352 MB / 314.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.002616/0.2558, allocations: 1.854 MB / 362.2 MB, free: 6.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.2559, allocations: 15.94 kB / 362.2 MB, free: 6.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.2559, allocations: 12 kB / 362.2 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.2569, allocations: 491.1 kB / 362.7 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009119/0.2578, allocations: 419.4 kB / 363.1 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005282/0.2631, allocations: 6.382 MB / 369.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008116/0.2639, allocations: 79.95 kB / 369.6 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.264, allocations: 75.98 kB / 369.6 MB, free: 14.79 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.000745/0.2648, allocations: 266.9 kB / 369.9 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00034/0.2651, allocations: 310.4 kB / 370.2 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/0.2676, allocations: 1.689 MB / 371.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/0.2676, allocations: 20 kB / 371.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.2676, allocations: 8 kB / 371.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.2676, allocations: 15.95 kB / 371.9 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005813/0.2734, allocations: 4.374 MB / 376.3 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.2734, allocations: 0 / 376.3 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006582/0.2741, allocations: 271.6 kB / 376.6 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001096/0.2752, allocations: 0.5503 MB / 377.1 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.939e-05/0.2753, allocations: 48.03 kB / 377.2 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006821/0.2821, allocations: 10.64 MB / 387.8 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2821, allocations: 0 / 387.8 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003438/0.2855, allocations: 2.242 MB / 390.1 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007013/0.2862, allocations: 450.2 kB / 390.5 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.2864, allocations: 39.92 kB / 390.5 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005153/0.2869, allocations: 71.95 kB / 390.6 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/0.2872, allocations: 153.6 kB / 390.8 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.181e-05/0.2873, allocations: 55.97 kB / 390.8 MB, free: 9.012 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001267/0.2885, allocations: 1.156 MB / 392 MB, free: 7.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2885, allocations: 0 / 392 MB, free: 7.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001704/0.2902, allocations: 0.6926 MB / 392.7 MB, free: 7.148 MB / 346.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.0009352/0.2912, allocations: 429.1 kB / 393.1 MB, free: 6.867 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002539/0.2937, allocations: 1.876 MB / 395 MB, free: 4.957 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2937, allocations: 3.938 kB / 395 MB, free: 4.953 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00169/0.2954, allocations: 1.649 MB / 396.6 MB, free: 3.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.2967, allocations: 0.5147 MB / 397.1 MB, free: 2.719 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008128/0.3049, allocations: 6.031 MB / 403.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009332/0.3058, allocations: 0.9508 MB / 404.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009026/0.3067, allocations: 419.1 kB / 404.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.307, allocations: 164.5 kB / 404.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.307, allocations: 0 / 404.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of Templates: time 0.1687/0.4757, allocations: 35.64 MB / 440.3 MB, free: 97.12 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.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/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: 5.002072821836919]