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.0007436/0.0007436, allocations: 80 kB / 21.43 MB, free: 3.133 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.0032/0.0032, allocations: 139.5 kB / 24.68 MB, free: 8.883 MB / 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 0.8258/0.8258, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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 9.62e-07/9.62e-07, allocations: 0 / 319.7 MB, free: 5.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.758e-05, allocations: 2.281 kB / 319.7 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.008771/0.008789, allocations: 11.95 MB / 331.7 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005385/0.01417, allocations: 4.716 MB / 336.4 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008313/0.015, allocations: 99.44 kB / 336.5 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.0165, allocations: 1.036 MB / 337.5 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.01839, allocations: 1.486 MB / 339 MB, free: 2.297 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.01947, allocations: 0.961 MB / 340 MB, free: 1.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002774/0.02224, allocations: 4.486 MB / 344.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.02377, allocations: 1.787 MB / 346.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/0.02608, allocations: 2.994 MB / 349.3 MB, free: 7.969 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.02764, allocations: 1.948 MB / 351.2 MB, free: 6.016 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003686/0.02801, allocations: 0.5312 MB / 351.7 MB, free: 5.484 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000933/0.02895, allocations: 0.8936 MB / 352.6 MB, free: 4.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007082/0.02965, allocations: 1.406 MB / 354 MB, free: 3.18 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009746/0.03063, allocations: 1.563 MB / 355.6 MB, free: 1.613 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004338/0.03497, allocations: 7.409 MB / 363 MB, free: 10.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.03497, allocations: 4 kB / 363 MB, free: 10.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.03497, allocations: 0 / 363 MB, free: 10.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.356e-05/0.035, allocations: 0 / 363 MB, free: 10.18 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: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.005636/0.04064, allocations: 4.971 MB / 368 MB, free: 5.145 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.04067, allocations: 12.86 kB / 368 MB, free: 5.133 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.04273, allocations: 0.896 MB / 368.9 MB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002979/0.04571, allocations: 2.712 MB / 371.6 MB, free: 1.453 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.04584, allocations: 251.1 kB / 371.8 MB, free: 1.207 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003272/0.04616, allocations: 340.2 kB / 372.2 MB, free: 0.875 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004741/0.0509, allocations: 4.702 MB / 376.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.202e-05/0.05096, allocations: 7.953 kB / 376.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/0.05118, allocations: 136 kB / 377 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.722e-05/0.05128, allocations: 154.7 kB / 377.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004152/0.05543, allocations: 3.907 MB / 381.1 MB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/0.06683, allocations: 12.11 MB / 393.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003359/0.07019, allocations: 2.945 MB / 396.1 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.0718, allocations: 1.579 MB / 397.7 MB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003993/0.07579, allocations: 3.575 MB / 401.3 MB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.07582, allocations: 51.88 kB / 401.3 MB, free: 3.461 MB / 362.7 MB Notification: Performance of pre-optimization done (n=165): time 2.385e-06/0.07582, allocations: 0 / 401.3 MB, free: 3.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=185): time 0.009817/0.08564, allocations: 7.406 MB / 408.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.08567, allocations: 69.41 kB / 408.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.08767, allocations: 2.418 MB / 411.2 MB, free: 9.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.62e-05/0.08775, allocations: 57.7 kB / 411.3 MB, free: 9.418 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007081/0.08846, allocations: 1.661 MB / 412.9 MB, free: 7.738 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005528/0.08901, allocations: 0.6468 MB / 413.6 MB, free: 7.086 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003306/0.08934, allocations: 335.5 kB / 413.9 MB, free: 6.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.006e-05/0.0894, allocations: 301.1 kB / 414.2 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009424/0.09034, allocations: 0.9097 MB / 415.1 MB, free: 5.543 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.09147, allocations: 1.327 MB / 416.5 MB, free: 4.059 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002162/0.09363, allocations: 2.351 MB / 418.8 MB, free: 1.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.09363, allocations: 7.938 kB / 418.8 MB, free: 1.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.003395/0.09703, allocations: 3.043 MB / 421.9 MB, free: 14.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.09705, allocations: 15.94 kB / 421.9 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.09706, allocations: 12 kB / 421.9 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008238/0.09788, allocations: 0.5479 MB / 422.4 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008457/0.09873, allocations: 439.3 kB / 422.9 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005731/0.1045, allocations: 7.218 MB / 430.1 MB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007161/0.1052, allocations: 83.94 kB / 430.2 MB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.1053, allocations: 75.98 kB / 430.2 MB, free: 5.906 MB / 394.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.001355/0.1066, allocations: 1.161 MB / 431.4 MB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.1069, allocations: 246.4 kB / 431.6 MB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/0.1099, allocations: 2.849 MB / 434.5 MB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.1099, allocations: 23.98 kB / 434.5 MB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.11, allocations: 12 kB / 434.5 MB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.11, allocations: 11.91 kB / 434.5 MB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005926/0.1159, allocations: 5.457 MB / 440 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.1159, allocations: 0 / 440 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006115/0.1165, allocations: 279.7 kB / 440.3 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008541/0.1174, allocations: 0.6275 MB / 440.9 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.943e-05/0.1174, allocations: 47.97 kB / 440.9 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1473/0.2648, allocations: 10.76 MB / 451.7 MB, free: 116.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.2648, allocations: 5.578 kB / 451.7 MB, free: 116.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004979/0.2698, allocations: 4.123 MB / 455.8 MB, free: 116.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006091/0.2704, allocations: 478.5 kB / 456.3 MB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.2705, allocations: 35.62 kB / 456.3 MB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/0.271, allocations: 89.97 kB / 456.4 MB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/0.2713, allocations: 151 kB / 456.6 MB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.901e-05/0.2713, allocations: 48.44 kB / 456.6 MB, free: 116.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001367/0.2727, allocations: 1.687 MB / 458.3 MB, free: 115.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2727, allocations: 0 / 458.3 MB, free: 115.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001294/0.274, allocations: 0.692 MB / 459 MB, free: 115.4 MB / 410.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.0007443/0.2747, allocations: 473.1 kB / 459.5 MB, free: 115.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002513/0.2772, allocations: 2.723 MB / 462.2 MB, free: 114.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2772, allocations: 0 / 462.2 MB, free: 114.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.2786, allocations: 1.843 MB / 464 MB, free: 113 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.2796, allocations: 488.2 kB / 464.5 MB, free: 112.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.2852, allocations: 6.956 MB / 471.5 MB, free: 106.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.2862, allocations: 2.008 MB / 473.5 MB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/0.2866, allocations: 178 kB / 473.6 MB, free: 104.6 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2866, allocations: 4 kB / 473.6 MB, free: 104.6 MB / 410.7 MB Notification: Performance of Templates: time 0.04529/0.3318, allocations: 100.5 MB / 0.5607 GB, free: 4.34 MB / 410.7 MB " [Timeout remaining time 660] 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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.710940828546882]