Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 96.25 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001512/0.001512, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.594e-05, allocations: 2.312 kB / 272.2 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.0177/0.01772, allocations: 12.5 MB / 284.7 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.02809, allocations: 4.466 MB / 289.2 MB, free: 0.707 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002174/0.03026, allocations: 103.4 kB / 289.3 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1131/0.1434, allocations: 1.006 MB / 290.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004154/0.1475, allocations: 1.373 MB / 291.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.1496, allocations: 0.917 MB / 292.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00469/0.1543, allocations: 4.338 MB / 296.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002335/0.1567, allocations: 1.734 MB / 298.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004326/0.161, allocations: 2.861 MB / 301.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002962/0.1639, allocations: 1.761 MB / 303.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009291/0.1649, allocations: 0.507 MB / 303.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.1666, allocations: 0.7265 MB / 304.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000733/0.1673, allocations: 1.145 MB / 305.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.1691, allocations: 1.45 MB / 307.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005476/0.1746, allocations: 6.816 MB / 313.9 MB, free: 5.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1746, allocations: 3.984 kB / 313.9 MB, free: 5.316 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1746, allocations: 2.25 kB / 313.9 MB, free: 5.316 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001341/0.1748, allocations: 3.125 kB / 313.9 MB, free: 5.316 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.009349/0.1841, allocations: 4.405 MB / 318.3 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1841, allocations: 15.98 kB / 318.4 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004569/0.1887, allocations: 1.243 MB / 319.6 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005513/0.1942, allocations: 2.489 MB / 322.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000261/0.1945, allocations: 245.3 kB / 322.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000809/0.1953, allocations: 332.3 kB / 322.7 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009394/0.2047, allocations: 4.424 MB / 327.1 MB, free: 8.148 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-05/0.2048, allocations: 3.375 kB / 327.1 MB, free: 8.148 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003729/0.2051, allocations: 135.9 kB / 327.2 MB, free: 8.016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001839/0.2053, allocations: 146.4 kB / 327.4 MB, free: 7.871 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007486/0.2128, allocations: 3.604 MB / 331 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02347/0.2363, allocations: 12.07 MB / 343 MB, free: 8.164 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005534/0.2418, allocations: 2.602 MB / 345.6 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002573/0.2444, allocations: 1.289 MB / 346.9 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00647/0.2509, allocations: 3.091 MB / 350 MB, free: 1.344 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/0.2509, allocations: 43.88 kB / 350.1 MB, free: 1.293 MB / 298.7 MB Notification: Performance of pre-optimization done (n=134): time 3.487e-06/0.2509, allocations: 0 / 350.1 MB, free: 1.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=137): time 0.01291/0.2638, allocations: 5.272 MB / 355.3 MB, free: 12.01 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.2639, allocations: 72.72 kB / 355.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00277/0.2667, allocations: 1.609 MB / 357 MB, free: 10.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001557/0.2668, allocations: 53.7 kB / 357.1 MB, free: 10.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.2682, allocations: 1.498 MB / 358.6 MB, free: 8.746 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005379/0.2688, allocations: 499.7 kB / 359.1 MB, free: 8.266 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005479/0.2693, allocations: 315.4 kB / 359.4 MB, free: 7.953 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2695, allocations: 313.1 kB / 359.7 MB, free: 7.645 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.2707, allocations: 0.6754 MB / 360.3 MB, free: 6.969 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.2726, allocations: 1.226 MB / 361.6 MB, free: 5.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003222/0.2758, allocations: 2.003 MB / 363.6 MB, free: 3.363 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.2758, allocations: 4 kB / 363.6 MB, free: 3.359 MB / 314.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004938/0.2807, allocations: 2.533 MB / 366.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.2808, allocations: 12.34 kB / 366.1 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-05/0.2808, allocations: 24 kB / 366.1 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/0.2821, allocations: 415 kB / 366.5 MB, free: 484 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.2836, allocations: 374.8 kB / 366.9 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009621/0.2933, allocations: 7.846 MB / 374.8 MB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.2947, allocations: 79.91 kB / 374.8 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.2949, allocations: 76 kB / 374.9 MB, free: 7.797 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001962/0.2968, allocations: 1.005 MB / 375.9 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005089/0.2973, allocations: 230.8 kB / 376.1 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004704/0.302, allocations: 2.113 MB / 378.3 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.3021, allocations: 12 kB / 378.3 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.3021, allocations: 8 kB / 378.3 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.836e-05/0.3021, allocations: 15.91 kB / 378.3 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008827/0.3109, allocations: 4.21 MB / 382.5 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.3109, allocations: 0 / 382.5 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008931/0.3118, allocations: 174.6 kB / 382.7 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002123/0.314, allocations: 0.614 MB / 383.3 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/0.3141, allocations: 39.92 kB / 383.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01562/0.3297, allocations: 12.4 MB / 395.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3297, allocations: 0 / 395.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006185/0.3359, allocations: 3.095 MB / 398.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/0.337, allocations: 350.6 kB / 399.2 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.3372, allocations: 36 kB / 399.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008814/0.3381, allocations: 63.94 kB / 399.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003426/0.3384, allocations: 116.7 kB / 399.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.354e-05/0.3385, allocations: 36 kB / 399.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001841/0.3404, allocations: 1.079 MB / 400.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3404, allocations: 0 / 400.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002371/0.3428, allocations: 0.582 MB / 401.1 MB, free: 13.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003882/0.3431, allocations: 176.7 kB / 401.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004064/0.3472, allocations: 2.21 MB / 403.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3472, allocations: 0 / 403.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002882/0.3501, allocations: 1.687 MB / 405.1 MB, free: 8.977 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/0.3525, allocations: 471.7 kB / 405.6 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.3638, allocations: 5.763 MB / 411.4 MB, free: 2.719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002651/0.3664, allocations: 1.756 MB / 413.1 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001459/0.3679, allocations: 383.5 kB / 413.5 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/0.3682, allocations: 120.5 kB / 413.6 MB, free: 444 kB / 362.7 MB Notification: Performance of SimCode: time 2.174e-06/0.3683, allocations: 0 / 413.6 MB, free: 444 kB / 362.7 MB Notification: Performance of Templates: time 0.1765/0.5448, allocations: 27.83 MB / 441.4 MB, free: 111 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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: 5.681433308054693]