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_Initialize.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.001324/0.001324, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.001512/0.001512, allocations: 154.3 kB / 24.81 MB, free: 9.273 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.9223/0.9223, allocations: 173.3 MB / 201.4 MB, free: 9.195 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_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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 268.4 MB, free: 6.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.201e-05, allocations: 2.312 kB / 268.4 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01451/0.01454, allocations: 12.37 MB / 280.8 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008797/0.02333, allocations: 4.154 MB / 284.9 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001689/0.02502, allocations: 87.5 kB / 285 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002254/0.02728, allocations: 0.9821 MB / 286 MB, free: 4.477 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.02962, allocations: 1.374 MB / 287.4 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.0308, allocations: 0.8211 MB / 288.2 MB, free: 2.277 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1144/0.1452, allocations: 4.18 MB / 292.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002496/0.1477, allocations: 1.723 MB / 294.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003764/0.1514, allocations: 2.946 MB / 297.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/0.1541, allocations: 1.969 MB / 299 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009405/0.155, allocations: 0.5041 MB / 299.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.1562, allocations: 0.6926 MB / 300.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007016/0.1569, allocations: 1.183 MB / 301.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.1583, allocations: 1.447 MB / 302.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002529/0.1609, allocations: 3.443 MB / 306.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1609, allocations: 0 / 306.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1609, allocations: 0 / 306.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.979e-05/0.1609, allocations: 1.75 kB / 306.3 MB, free: 12.57 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.004626/0.1655, allocations: 4.507 MB / 310.8 MB, free: 10.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1656, allocations: 10.8 kB / 310.8 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/0.1678, allocations: 1.154 MB / 312 MB, free: 9.703 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/0.1696, allocations: 2.206 MB / 314.2 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.935e-05/0.1697, allocations: 233.5 kB / 314.4 MB, free: 8.285 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002681/0.1699, allocations: 327.2 kB / 314.7 MB, free: 7.969 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.1722, allocations: 2.318 MB / 317 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.617e-05/0.1722, allocations: 7.984 kB / 317 MB, free: 5.809 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.1724, allocations: 126.8 kB / 317.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.155e-05/0.1725, allocations: 146.2 kB / 317.3 MB, free: 5.543 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.1736, allocations: 0.9009 MB / 318.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009122/0.1828, allocations: 10.5 MB / 328.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002106/0.1849, allocations: 1.777 MB / 330.5 MB, free: 8.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007671/0.1856, allocations: 0.6554 MB / 331.2 MB, free: 8.273 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002559/0.1882, allocations: 2.233 MB / 333.4 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.1882, allocations: 50.39 kB / 333.4 MB, free: 6.043 MB / 282.7 MB Notification: Performance of pre-optimization done (n=124): time 2.084e-06/0.1882, allocations: 3.938 kB / 333.4 MB, free: 6.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=144): time 0.0052/0.1934, allocations: 3.418 MB / 336.9 MB, free: 2.645 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.1935, allocations: 68.72 kB / 336.9 MB, free: 2.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.1948, allocations: 1.384 MB / 338.3 MB, free: 1.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-05/0.1948, allocations: 53.7 kB / 338.4 MB, free: 1.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009725/0.1958, allocations: 1.576 MB / 339.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/0.1961, allocations: 0.5396 MB / 340.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003219/0.1964, allocations: 332.6 kB / 340.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.88e-05/0.1965, allocations: 476.8 kB / 341.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.1967, allocations: 199.8 kB / 341.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005415/0.1973, allocations: 0.891 MB / 342.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009228/0.1982, allocations: 1.208 MB / 343.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.1982, allocations: 4 kB / 343.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.001586/0.1998, allocations: 1.467 MB / 345 MB, free: 10.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1998, allocations: 12 kB / 345 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.1998, allocations: 12 kB / 345.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000774/0.2006, allocations: 435.3 kB / 345.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006921/0.2013, allocations: 362.9 kB / 345.8 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003974/0.2053, allocations: 5.624 MB / 351.5 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/0.2058, allocations: 68.06 kB / 351.5 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.462e-05/0.2058, allocations: 52 kB / 351.6 MB, free: 3.809 MB / 298.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.0004575/0.2063, allocations: 260.7 kB / 351.8 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.2065, allocations: 226.8 kB / 352.1 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.208, allocations: 1.27 MB / 353.3 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.208, allocations: 12 kB / 353.3 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.208, allocations: 8 kB / 353.3 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.208, allocations: 7.969 kB / 353.3 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003637/0.2117, allocations: 3.037 MB / 356.4 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.2117, allocations: 4 kB / 356.4 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.2121, allocations: 203.3 kB / 356.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007183/0.2128, allocations: 412.3 kB / 357 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/0.2129, allocations: 31.98 kB / 357 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005582/0.2185, allocations: 11.35 MB / 368.4 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2185, allocations: 0 / 368.4 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.2206, allocations: 1.69 MB / 370.1 MB, free: 1.078 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003924/0.221, allocations: 326.7 kB / 370.4 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.2212, allocations: 28 kB / 370.4 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000389/0.2215, allocations: 55.97 kB / 370.5 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.2217, allocations: 110.8 kB / 370.6 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.2218, allocations: 39.98 kB / 370.6 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000599/0.2224, allocations: 0.744 MB / 371.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2224, allocations: 0 / 371.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0013/0.2237, allocations: 0.5781 MB / 371.9 MB, free: 15.28 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.0002319/0.2239, allocations: 163.8 kB / 372.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.2255, allocations: 1.51 MB / 373.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2255, allocations: 0 / 373.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.2267, allocations: 1.542 MB / 375.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.2277, allocations: 436.1 kB / 375.6 MB, free: 11.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006117/0.2338, allocations: 5.088 MB / 380.7 MB, free: 6.516 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006733/0.2345, allocations: 0.8215 MB / 381.5 MB, free: 5.676 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007244/0.2352, allocations: 243.3 kB / 381.7 MB, free: 5.434 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007623/0.236, allocations: 481.9 kB / 382.2 MB, free: 4.961 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.236, allocations: 0 / 382.2 MB, free: 4.961 MB / 330.7 MB Notification: Performance of Templates: time 0.04057/0.2765, allocations: 30.31 MB / 412.5 MB, free: 7.148 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5091686067171395]