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_Steinmetz.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.00141/0.00141, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001411/0.001411, allocations: 145.1 kB / 24.54 MB, free: 36 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 0.9334/0.9334, allocations: 173.3 MB / 201.1 MB, free: 9.355 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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_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.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.268e-05/3.474e-05, allocations: 9.906 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01762/0.01765, allocations: 13.54 MB / 281.6 MB, free: 8.816 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009615/0.02727, allocations: 4.341 MB / 285.9 MB, free: 4.461 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.02969, allocations: 99.44 kB / 286 MB, free: 4.363 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003085/0.03277, allocations: 1.005 MB / 287 MB, free: 3.352 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003921/0.03669, allocations: 1.393 MB / 288.4 MB, free: 1.949 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.03844, allocations: 0.8837 MB / 289.3 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1294/0.1678, allocations: 4.267 MB / 293.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003535/0.1714, allocations: 1.733 MB / 295.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005131/0.1765, allocations: 2.868 MB / 298.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003912/0.1804, allocations: 1.927 MB / 300.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001555/0.182, allocations: 0.5063 MB / 300.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.1841, allocations: 0.6963 MB / 301.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008062/0.1849, allocations: 1.161 MB / 302.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002357/0.1873, allocations: 1.463 MB / 303.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004034/0.1913, allocations: 3.45 MB / 307.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1913, allocations: 0 / 307.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1913, allocations: 0 / 307.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001817/0.1915, allocations: 0 / 307.4 MB, free: 11.92 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.007303/0.1988, allocations: 4.636 MB / 312 MB, free: 9.371 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.1989, allocations: 14.23 kB / 312 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/0.2016, allocations: 1.249 MB / 313.3 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003274/0.2049, allocations: 2.306 MB / 315.6 MB, free: 7.172 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.205, allocations: 238.8 kB / 315.8 MB, free: 6.938 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003136/0.2053, allocations: 332 kB / 316.1 MB, free: 6.617 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003709/0.209, allocations: 2.591 MB / 318.7 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.268e-05/0.2091, allocations: 0 / 318.7 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/0.2093, allocations: 135 kB / 318.8 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/0.2094, allocations: 153.7 kB / 319 MB, free: 3.656 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00259/0.212, allocations: 1.224 MB / 320.2 MB, free: 2.426 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/0.226, allocations: 11.09 MB / 331.3 MB, free: 7.301 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/0.2289, allocations: 1.967 MB / 333.3 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.23, allocations: 0.7776 MB / 334 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003796/0.2338, allocations: 2.309 MB / 336.4 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.2339, allocations: 58.7 kB / 336.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of pre-optimization done (n=134): time 3.667e-06/0.2339, allocations: 0 / 336.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=137): time 0.00687/0.2407, allocations: 3.538 MB / 339.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.2408, allocations: 72.72 kB / 340 MB, free: 14.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.2424, allocations: 1.396 MB / 341.4 MB, free: 13.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.415e-05/0.2425, allocations: 49.7 kB / 341.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008154/0.2433, allocations: 1.578 MB / 343 MB, free: 11.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000329/0.2437, allocations: 0.5016 MB / 343.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003459/0.244, allocations: 345.1 kB / 343.9 MB, free: 10.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2441, allocations: 480.7 kB / 344.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004745/0.2446, allocations: 251.8 kB / 344.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008193/0.2454, allocations: 1.015 MB / 345.6 MB, free: 8.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.2469, allocations: 1.373 MB / 347 MB, free: 7.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.2469, allocations: 4 kB / 347 MB, free: 7.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.002451/0.2493, allocations: 1.589 MB / 348.6 MB, free: 5.652 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.2493, allocations: 15.75 kB / 348.6 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/0.2494, allocations: 16 kB / 348.6 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008433/0.2502, allocations: 306.4 kB / 348.9 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008306/0.251, allocations: 378.5 kB / 349.3 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005483/0.2565, allocations: 8.92 MB / 358.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000987/0.2575, allocations: 67.97 kB / 358.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.542e-05/0.2576, allocations: 79.98 kB / 358.3 MB, free: 11.47 MB / 314.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.0008214/0.2584, allocations: 267.2 kB / 358.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/0.2587, allocations: 230.8 kB / 358.8 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.2607, allocations: 1.332 MB / 360.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.2607, allocations: 15.47 kB / 360.2 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.2607, allocations: 8 kB / 360.2 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.2607, allocations: 7.969 kB / 360.2 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00477/0.2655, allocations: 3.515 MB / 363.7 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.2655, allocations: 0 / 363.7 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.2659, allocations: 173.5 kB / 363.9 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009863/0.2669, allocations: 476.5 kB / 364.3 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.383e-05/0.267, allocations: 39.98 kB / 364.4 MB, free: 5.391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007936/0.2749, allocations: 13.81 MB / 378.2 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2749, allocations: 0 / 378.2 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002731/0.2777, allocations: 1.796 MB / 380 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006035/0.2783, allocations: 322.7 kB / 380.3 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.2784, allocations: 35.94 kB / 380.3 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/0.2788, allocations: 63.95 kB / 380.4 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/0.2791, allocations: 116.3 kB / 380.5 MB, free: 4.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.638e-05/0.2791, allocations: 35.98 kB / 380.5 MB, free: 4.551 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009895/0.2801, allocations: 0.7964 MB / 381.3 MB, free: 3.758 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2801, allocations: 0 / 381.3 MB, free: 3.758 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001762/0.2819, allocations: 0.582 MB / 381.9 MB, free: 3.176 MB / 330.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.0003126/0.2822, allocations: 171 kB / 382.1 MB, free: 3.012 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.2844, allocations: 1.774 MB / 383.9 MB, free: 1.227 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.2844, allocations: 4 kB / 383.9 MB, free: 1.223 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001521/0.2859, allocations: 1.741 MB / 385.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.2872, allocations: 471 kB / 386.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007726/0.2949, allocations: 5.084 MB / 391.2 MB, free: 9.789 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/0.2956, allocations: 0.7782 MB / 391.9 MB, free: 8.996 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008863/0.2965, allocations: 331.3 kB / 392.3 MB, free: 8.668 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.2968, allocations: 124.5 kB / 392.4 MB, free: 8.547 MB / 346.7 MB Notification: Performance of SimCode: time 2.395e-06/0.2968, allocations: 0 / 392.4 MB, free: 8.547 MB / 346.7 MB Notification: Performance of Templates: time 0.03887/0.3356, allocations: 27.46 MB / 419.8 MB, free: 13.56 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.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: 3.9380855122581124]