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.0009633/0.0009633, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001114/0.001114, allocations: 160.9 kB / 24.99 MB, free: 8.805 MB / 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 0.9862/0.9862, allocations: 177 MB / 205.2 MB, free: 5.613 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 1.132e-06/1.132e-06, allocations: 0 / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122e-05/1.235e-05, allocations: 2.312 kB / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.009787/0.0098, allocations: 13.36 MB / 286.4 MB, free: 4.328 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1169/0.1267, allocations: 4.461 MB / 290.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00253/0.1292, allocations: 95.84 kB / 290.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002655/0.1319, allocations: 0.9925 MB / 291.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003829/0.1357, allocations: 1.349 MB / 293.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.1373, allocations: 0.8797 MB / 294.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00497/0.1423, allocations: 4.277 MB / 298.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002541/0.1449, allocations: 1.724 MB / 300.1 MB, free: 13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004272/0.1491, allocations: 2.87 MB / 303 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002896/0.152, allocations: 1.99 MB / 305 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001015/0.153, allocations: 0.508 MB / 305.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.1541, allocations: 0.7267 MB / 306.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005857/0.1547, allocations: 1.185 MB / 307.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.1561, allocations: 1.462 MB / 308.9 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00298/0.1591, allocations: 3.503 MB / 312.4 MB, free: 7.551 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1591, allocations: 4 kB / 312.4 MB, free: 7.547 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1591, allocations: 0 / 312.4 MB, free: 7.547 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.778e-05/0.1592, allocations: 0 / 312.4 MB, free: 7.547 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.005688/0.1648, allocations: 4.687 MB / 317.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1649, allocations: 11.98 kB / 317.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002817/0.1677, allocations: 1.243 MB / 318.3 MB, free: 1.977 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002289/0.17, allocations: 2.348 MB / 320.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.1701, allocations: 234.6 kB / 320.9 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003115/0.1704, allocations: 322.6 kB / 321.2 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003604/0.174, allocations: 2.53 MB / 323.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.454e-05/0.1741, allocations: 1.5 kB / 323.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002069/0.1743, allocations: 135 kB / 323.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/0.1744, allocations: 145.6 kB / 324 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.1769, allocations: 1.184 MB / 325.2 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01258/0.1894, allocations: 10.62 MB / 335.8 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002885/0.1923, allocations: 1.958 MB / 337.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/0.1935, allocations: 0.7477 MB / 338.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003389/0.1969, allocations: 2.324 MB / 340.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.1969, allocations: 50.39 kB / 340.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=124): time 3.427e-06/0.1969, allocations: 4 kB / 340.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=144): time 0.007116/0.204, allocations: 4.039 MB / 345 MB, free: 7.445 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.204, allocations: 72.66 kB / 345 MB, free: 7.363 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.2056, allocations: 1.469 MB / 346.5 MB, free: 5.879 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.28e-05/0.2056, allocations: 53.7 kB / 346.6 MB, free: 5.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009074/0.2065, allocations: 1.585 MB / 348.1 MB, free: 4.219 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/0.2068, allocations: 0.5233 MB / 348.7 MB, free: 3.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/0.2072, allocations: 329.1 kB / 349 MB, free: 3.375 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.2073, allocations: 476.8 kB / 349.5 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004822/0.2078, allocations: 263.8 kB / 349.7 MB, free: 2.648 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007614/0.2085, allocations: 0.9483 MB / 350.7 MB, free: 1.441 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.2099, allocations: 1.316 MB / 352 MB, free: 15.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.2099, allocations: 4 kB / 352 MB, free: 15.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.002214/0.2121, allocations: 1.622 MB / 353.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.2121, allocations: 15.94 kB / 353.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.2121, allocations: 12 kB / 353.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.2133, allocations: 446.1 kB / 354.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000793/0.214, allocations: 380.2 kB / 354.4 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00471/0.2188, allocations: 5.792 MB / 360.2 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007413/0.2195, allocations: 71.92 kB / 360.3 MB, free: 7.488 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-05/0.2196, allocations: 71.98 kB / 360.4 MB, free: 7.418 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.0006525/0.2202, allocations: 258.9 kB / 360.6 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.2205, allocations: 234.9 kB / 360.8 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.2226, allocations: 1.384 MB / 362.2 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.2226, allocations: 12 kB / 362.2 MB, free: 5.516 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.2226, allocations: 8 kB / 362.3 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.2226, allocations: 7.969 kB / 362.3 MB, free: 5.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004572/0.2272, allocations: 3.729 MB / 366 MB, free: 1.707 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2272, allocations: 0 / 366 MB, free: 1.707 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/0.2277, allocations: 219.7 kB / 366.2 MB, free: 1.492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008682/0.2286, allocations: 420 kB / 366.6 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.018e-05/0.2287, allocations: 32 kB / 366.6 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006556/0.2352, allocations: 11.59 MB / 378.2 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2352, allocations: 4 kB / 378.2 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.2378, allocations: 1.848 MB / 380.1 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005223/0.2383, allocations: 354.7 kB / 380.4 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.2384, allocations: 35.94 kB / 380.5 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.2389, allocations: 63.95 kB / 380.5 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.2391, allocations: 119.8 kB / 380.6 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.785e-05/0.2392, allocations: 43.98 kB / 380.7 MB, free: 2.348 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00094/0.2401, allocations: 0.833 MB / 381.5 MB, free: 1.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2401, allocations: 0 / 381.5 MB, free: 1.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00149/0.2416, allocations: 0.5859 MB / 382.1 MB, free: 0.9336 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.0002942/0.2419, allocations: 171 kB / 382.3 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002422/0.2443, allocations: 1.623 MB / 383.9 MB, free: 15.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2443, allocations: 0 / 383.9 MB, free: 15.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.2457, allocations: 1.601 MB / 385.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.2469, allocations: 448 kB / 385.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006836/0.2537, allocations: 5.174 MB / 391.1 MB, free: 7.742 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006568/0.2543, allocations: 0.823 MB / 391.9 MB, free: 6.898 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007267/0.2551, allocations: 335.5 kB / 392.3 MB, free: 6.566 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.2553, allocations: 124.5 kB / 392.4 MB, free: 6.445 MB / 346.7 MB Notification: Performance of SimCode: time 1.633e-06/0.2553, allocations: 0 / 392.4 MB, free: 6.445 MB / 346.7 MB Notification: Performance of Templates: time 0.03787/0.2932, allocations: 29.16 MB / 421.5 MB, free: 9.688 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.809582435991615]