Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.000946/0.000946, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009407/0.0009407, allocations: 160.5 kB / 24.55 MB, free: 16 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.03/1.03, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|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.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|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.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.975e-05, allocations: 2.312 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01623/0.01626, allocations: 13.44 MB / 286.4 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1174/0.1337, allocations: 4.462 MB / 290.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002276/0.1359, allocations: 99.47 kB / 290.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.138, allocations: 0.9892 MB / 291.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002442/0.1405, allocations: 1.359 MB / 293.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.1418, allocations: 0.8823 MB / 294.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003557/0.1453, allocations: 4.272 MB / 298.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001938/0.1472, allocations: 1.728 MB / 300.2 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003186/0.1504, allocations: 2.962 MB / 303.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001924/0.1524, allocations: 1.97 MB / 305.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006195/0.153, allocations: 0.5036 MB / 305.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008967/0.1539, allocations: 0.7131 MB / 306.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005346/0.1544, allocations: 1.179 MB / 307.5 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.1554, allocations: 1.455 MB / 308.9 MB, free: 9.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.1577, allocations: 3.478 MB / 312.4 MB, free: 7.504 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1577, allocations: 0 / 312.4 MB, free: 7.504 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1577, allocations: 3.938 kB / 312.4 MB, free: 7.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.517e-05/0.1577, allocations: 0 / 312.4 MB, free: 7.5 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.004764/0.1625, allocations: 4.662 MB / 317.1 MB, free: 3.145 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1625, allocations: 11.98 kB / 317.1 MB, free: 3.133 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002409/0.1649, allocations: 1.241 MB / 318.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/0.167, allocations: 2.367 MB / 320.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.1671, allocations: 233.3 kB / 320.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002947/0.1674, allocations: 318.5 kB / 321.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003319/0.1707, allocations: 2.53 MB / 323.8 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.255e-05/0.1708, allocations: 11.33 kB / 323.8 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/0.171, allocations: 123.9 kB / 323.9 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.855e-05/0.1711, allocations: 146.2 kB / 324 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/0.1734, allocations: 1.184 MB / 325.2 MB, free: 10.97 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01029/0.1837, allocations: 10.59 MB / 335.8 MB, free: 376 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/0.1862, allocations: 1.973 MB / 337.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.1873, allocations: 0.7396 MB / 338.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002638/0.1899, allocations: 2.301 MB / 340.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.1899, allocations: 53.77 kB / 340.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=124): time 2.745e-06/0.1899, allocations: 0 / 340.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=144): time 0.006074/0.196, allocations: 4.048 MB / 344.9 MB, free: 7.406 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.1961, allocations: 68.66 kB / 345 MB, free: 7.328 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.1975, allocations: 1.458 MB / 346.5 MB, free: 5.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.239e-05/0.1976, allocations: 49.64 kB / 346.5 MB, free: 5.797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007214/0.1983, allocations: 1.587 MB / 348.1 MB, free: 4.195 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.1986, allocations: 0.5233 MB / 348.6 MB, free: 3.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/0.1989, allocations: 325.1 kB / 348.9 MB, free: 3.355 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.199, allocations: 476.8 kB / 349.4 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004241/0.1994, allocations: 271.2 kB / 349.7 MB, free: 2.625 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000715/0.2001, allocations: 0.9424 MB / 350.6 MB, free: 1.414 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.2014, allocations: 1.314 MB / 351.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.2014, allocations: 12 kB / 351.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.002153/0.2035, allocations: 1.616 MB / 353.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.2035, allocations: 12 kB / 353.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.2036, allocations: 12 kB / 353.6 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008921/0.2044, allocations: 449.6 kB / 354 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007529/0.2052, allocations: 379.3 kB / 354.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004456/0.2097, allocations: 5.789 MB / 360.2 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/0.2102, allocations: 63.97 kB / 360.2 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.948e-05/0.2102, allocations: 71.98 kB / 360.3 MB, free: 7.383 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * 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,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004734/0.2107, allocations: 268.1 kB / 360.6 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.2109, allocations: 238.8 kB / 360.8 MB, free: 6.875 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.2127, allocations: 1.37 MB / 362.2 MB, free: 5.465 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.2127, allocations: 16 kB / 362.2 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.2127, allocations: 4 kB / 362.2 MB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.2127, allocations: 7.969 kB / 362.2 MB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004079/0.2168, allocations: 3.727 MB / 365.9 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.2168, allocations: 4 kB / 365.9 MB, free: 1.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004927/0.2173, allocations: 219.7 kB / 366.1 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008141/0.2181, allocations: 414.3 kB / 366.5 MB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.211e-05/0.2182, allocations: 35.98 kB / 366.6 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006076/0.2243, allocations: 11.57 MB / 378.1 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2243, allocations: 0 / 378.1 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.2265, allocations: 1.862 MB / 380 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/0.2269, allocations: 354.6 kB / 380.4 MB, free: 2.539 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.227, allocations: 28 kB / 380.4 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.2274, allocations: 59.95 kB / 380.4 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.2276, allocations: 121 kB / 380.6 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/0.2277, allocations: 39.98 kB / 380.6 MB, free: 2.297 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007798/0.2284, allocations: 0.8369 MB / 381.4 MB, free: 1.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2284, allocations: 0 / 381.4 MB, free: 1.465 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001259/0.2297, allocations: 0.5898 MB / 382 MB, free: 0.875 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (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) * 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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002443/0.2299, allocations: 174.3 kB / 382.2 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002171/0.2321, allocations: 1.612 MB / 383.8 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2321, allocations: 0 / 383.8 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.2337, allocations: 1.593 MB / 385.4 MB, free: 13.37 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.2351, allocations: 445 kB / 385.8 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007067/0.2422, allocations: 5.162 MB / 391 MB, free: 7.723 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007261/0.2429, allocations: 0.8308 MB / 391.8 MB, free: 6.871 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008355/0.2437, allocations: 339.5 kB / 392.2 MB, free: 6.535 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.244, allocations: 124.5 kB / 392.3 MB, free: 6.414 MB / 346.7 MB Notification: Performance of SimCode: time 7.91e-07/0.244, allocations: 0 / 392.3 MB, free: 6.414 MB / 346.7 MB Notification: Performance of Templates: time 0.04172/0.2857, allocations: 30.14 MB / 422.4 MB, free: 8.664 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.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.8128831600770354]