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.0009387/0.0009387, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.0009033/0.0009033, allocations: 144.1 kB / 24.97 MB, free: 8.816 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.9356/0.9356, allocations: 173.4 MB / 201.5 MB, free: 9.32 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.553e-06/1.553e-06, allocations: 3.938 kB / 268.1 MB, free: 6.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.413e-05, allocations: 2.312 kB / 268.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01035/0.01038, allocations: 12.74 MB / 280.8 MB, free: 9.891 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006267/0.01664, allocations: 4.174 MB / 285 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.01805, allocations: 91.5 kB / 285.1 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.02018, allocations: 0.9782 MB / 286.1 MB, free: 4.629 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002635/0.02282, allocations: 1.374 MB / 287.4 MB, free: 3.246 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.02405, allocations: 0.84 MB / 288.3 MB, free: 2.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1103/0.1344, allocations: 4.177 MB / 292.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002938/0.1373, allocations: 1.718 MB / 294.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004202/0.1415, allocations: 2.846 MB / 297 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003113/0.1446, allocations: 1.989 MB / 299 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00118/0.1458, allocations: 0.5072 MB / 299.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.1472, allocations: 0.6988 MB / 300.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008796/0.1481, allocations: 1.188 MB / 301.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002247/0.1503, allocations: 1.461 MB / 302.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003753/0.1541, allocations: 3.46 MB / 306.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1541, allocations: 3.5 kB / 306.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1541, allocations: 2.219 kB / 306.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001481/0.1542, allocations: 0 / 306.3 MB, free: 12.76 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.007177/0.1614, allocations: 4.638 MB / 311 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1615, allocations: 8.016 kB / 311 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003039/0.1645, allocations: 1.24 MB / 312.2 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002988/0.1675, allocations: 2.304 MB / 314.5 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.1676, allocations: 232.4 kB / 314.8 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003498/0.1679, allocations: 317.3 kB / 315.1 MB, free: 8.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/0.1715, allocations: 2.53 MB / 317.6 MB, free: 5.566 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.632e-05/0.1715, allocations: 0 / 317.6 MB, free: 5.566 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/0.1717, allocations: 131.9 kB / 317.7 MB, free: 5.438 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.892e-05/0.1718, allocations: 150.2 kB / 317.9 MB, free: 5.289 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/0.1742, allocations: 1.176 MB / 319 MB, free: 4.109 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.1858, allocations: 10.61 MB / 329.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/0.1884, allocations: 1.937 MB / 331.6 MB, free: 7.684 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.1894, allocations: 0.7437 MB / 332.3 MB, free: 6.938 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003307/0.1928, allocations: 2.291 MB / 334.6 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.1928, allocations: 49.77 kB / 334.7 MB, free: 4.617 MB / 282.7 MB Notification: Performance of pre-optimization done (n=124): time 2.825e-06/0.1928, allocations: 0 / 334.7 MB, free: 4.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=144): time 0.006995/0.1998, allocations: 4.035 MB / 338.7 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.1998, allocations: 68.72 kB / 338.8 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.2013, allocations: 1.432 MB / 340.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.402e-05/0.2014, allocations: 53.7 kB / 340.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007534/0.2022, allocations: 1.562 MB / 341.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003072/0.2025, allocations: 0.5338 MB / 342.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000343/0.2028, allocations: 325.1 kB / 342.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2029, allocations: 476.8 kB / 343.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.2034, allocations: 271.8 kB / 343.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008227/0.2042, allocations: 0.9402 MB / 344.3 MB, free: 10.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.2056, allocations: 1.312 MB / 345.7 MB, free: 9.113 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.2056, allocations: 4 kB / 345.7 MB, free: 9.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.002301/0.2079, allocations: 1.608 MB / 347.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.2079, allocations: 12 kB / 347.3 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.2079, allocations: 16 kB / 347.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009924/0.2089, allocations: 450 kB / 347.7 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007972/0.2097, allocations: 380 kB / 348.1 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00481/0.2145, allocations: 5.786 MB / 353.9 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008826/0.2154, allocations: 72.05 kB / 354 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.854e-05/0.2155, allocations: 75.98 kB / 354 MB, free: 0.6211 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.0007766/0.2163, allocations: 255.8 kB / 354.3 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/0.2165, allocations: 230.8 kB / 354.5 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.2186, allocations: 1.383 MB / 355.9 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.2186, allocations: 16 kB / 355.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.2186, allocations: 8 kB / 355.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.2186, allocations: 7.969 kB / 355.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00475/0.2233, allocations: 3.715 MB / 359.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.2233, allocations: 4 kB / 359.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005434/0.2239, allocations: 215.4 kB / 359.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008963/0.2248, allocations: 422.2 kB / 360.3 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.918e-05/0.2249, allocations: 35.98 kB / 360.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006424/0.2313, allocations: 11.57 MB / 371.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.2313, allocations: 4 kB / 371.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.234, allocations: 1.853 MB / 373.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005773/0.2346, allocations: 354.1 kB / 374.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.2348, allocations: 28 kB / 374.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/0.2352, allocations: 59.95 kB / 374.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002308/0.2355, allocations: 129.3 kB / 374.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-05/0.2355, allocations: 47.98 kB / 374.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009678/0.2365, allocations: 0.8161 MB / 375.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2365, allocations: 0 / 375.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001451/0.2379, allocations: 0.5781 MB / 375.7 MB, free: 10.32 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.0002857/0.2382, allocations: 168.2 kB / 375.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002279/0.2405, allocations: 1.615 MB / 377.5 MB, free: 8.559 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2405, allocations: 0 / 377.5 MB, free: 8.559 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001454/0.242, allocations: 1.586 MB / 379.1 MB, free: 6.902 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.2433, allocations: 440.1 kB / 379.5 MB, free: 6.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007075/0.2504, allocations: 5.147 MB / 384.7 MB, free: 1.266 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006851/0.2511, allocations: 0.8222 MB / 385.5 MB, free: 432 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008056/0.2519, allocations: 335.2 kB / 385.8 MB, free: 92 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.2521, allocations: 124.1 kB / 385.9 MB, free: 15.97 MB / 346.7 MB Notification: Performance of SimCode: time 1.744e-06/0.2521, allocations: 0 / 385.9 MB, free: 15.97 MB / 346.7 MB Notification: Performance of Templates: time 0.0348/0.2869, allocations: 28.71 MB / 414.7 MB, free: 3.699 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.66806382779032]