Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000974/0.000974, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.964/0.964, allocations: 177.1 MB / 205 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.882e-05, allocations: 2.312 kB / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.0126/0.01263, allocations: 13.41 MB / 286.4 MB, free: 3.895 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1387/0.1514, allocations: 4.457 MB / 290.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00237/0.1537, allocations: 98.72 kB / 291 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.1561, allocations: 0.9869 MB / 292 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003263/0.1594, allocations: 1.357 MB / 293.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.1608, allocations: 0.8848 MB / 294.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004037/0.1649, allocations: 4.258 MB / 298.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.167, allocations: 1.732 MB / 300.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003183/0.1701, allocations: 2.859 MB / 303 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002073/0.1722, allocations: 2.003 MB / 305 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006757/0.1729, allocations: 0.5081 MB / 305.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.1739, allocations: 0.7171 MB / 306.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005685/0.1745, allocations: 1.188 MB / 307.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.1756, allocations: 1.462 MB / 308.9 MB, free: 9.871 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00236/0.178, allocations: 3.498 MB / 312.4 MB, free: 7.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.178, allocations: 0 / 312.4 MB, free: 7.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.178, allocations: 7.031 kB / 312.4 MB, free: 7.766 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.107e-05/0.178, allocations: 0 / 312.4 MB, free: 7.766 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.005417/0.1834, allocations: 4.667 MB / 317.1 MB, free: 3.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1835, allocations: 15.22 kB / 317.1 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002526/0.186, allocations: 1.245 MB / 318.4 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/0.1884, allocations: 2.339 MB / 320.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.1885, allocations: 237.5 kB / 320.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003353/0.1888, allocations: 320.8 kB / 321.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003505/0.1923, allocations: 2.528 MB / 323.8 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.271e-05/0.1924, allocations: 7.984 kB / 323.8 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/0.1926, allocations: 136.2 kB / 323.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.1927, allocations: 149.5 kB / 324.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/0.1951, allocations: 1.182 MB / 325.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.2066, allocations: 10.62 MB / 335.9 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.2091, allocations: 1.952 MB / 337.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.2101, allocations: 0.7519 MB / 338.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003021/0.2132, allocations: 2.316 MB / 340.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.2132, allocations: 58.38 kB / 340.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=124): time 3.105e-06/0.2132, allocations: 0 / 340.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=144): time 0.006514/0.2197, allocations: 4.047 MB / 345 MB, free: 7.648 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.2198, allocations: 68.66 kB / 345.1 MB, free: 7.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.2212, allocations: 1.45 MB / 346.5 MB, free: 6.102 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.895e-05/0.2213, allocations: 61.36 kB / 346.6 MB, free: 6.039 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009328/0.2222, allocations: 1.581 MB / 348.1 MB, free: 4.441 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/0.2225, allocations: 0.5243 MB / 348.7 MB, free: 3.922 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003423/0.2228, allocations: 325.1 kB / 349 MB, free: 3.598 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.2229, allocations: 480.8 kB / 349.5 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/0.2234, allocations: 259.8 kB / 349.7 MB, free: 2.871 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007916/0.2242, allocations: 0.9455 MB / 350.7 MB, free: 1.664 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.2255, allocations: 1.321 MB / 352 MB, free: 136 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.2256, allocations: 4 kB / 352 MB, free: 132 kB / 298.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.002191/0.2277, allocations: 1.623 MB / 353.6 MB, free: 14.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.2278, allocations: 8 kB / 353.6 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.2278, allocations: 16 kB / 353.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.2289, allocations: 446.2 kB / 354.1 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007593/0.2296, allocations: 376.9 kB / 354.4 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004412/0.234, allocations: 5.792 MB / 360.2 MB, free: 7.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006844/0.2347, allocations: 71.92 kB / 360.3 MB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-05/0.2348, allocations: 67.98 kB / 360.4 MB, free: 7.613 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.0006335/0.2354, allocations: 264 kB / 360.6 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/0.2357, allocations: 238.8 kB / 360.8 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.2377, allocations: 1.382 MB / 362.2 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.2377, allocations: 16 kB / 362.2 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.2377, allocations: 12 kB / 362.3 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.2377, allocations: 7.969 kB / 362.3 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004494/0.2422, allocations: 3.717 MB / 366 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2422, allocations: 4.188 kB / 366 MB, free: 1.867 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/0.2427, allocations: 219.7 kB / 366.2 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008319/0.2436, allocations: 412.1 kB / 366.6 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.597e-05/0.2436, allocations: 39.98 kB / 366.6 MB, free: 1.191 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006286/0.2499, allocations: 11.58 MB / 378.2 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2499, allocations: 7.984 kB / 378.2 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/0.2523, allocations: 1.855 MB / 380.1 MB, free: 3.098 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005194/0.2528, allocations: 350.7 kB / 380.4 MB, free: 2.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.253, allocations: 28 kB / 380.4 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.2534, allocations: 67.95 kB / 380.5 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.2536, allocations: 121 kB / 380.6 MB, free: 2.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.634e-05/0.2536, allocations: 39.98 kB / 380.7 MB, free: 2.504 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008739/0.2545, allocations: 0.8328 MB / 381.5 MB, free: 1.676 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2545, allocations: 0 / 381.5 MB, free: 1.676 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001423/0.2559, allocations: 0.5975 MB / 382.1 MB, free: 1.078 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.0002727/0.2562, allocations: 162.6 kB / 382.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002565/0.2587, allocations: 1.627 MB / 383.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.2588, allocations: 3.938 kB / 383.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.2603, allocations: 1.585 MB / 385.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.2615, allocations: 454.3 kB / 385.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006703/0.2682, allocations: 5.171 MB / 391.1 MB, free: 7.906 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006711/0.2689, allocations: 0.8305 MB / 391.9 MB, free: 7.055 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006843/0.2696, allocations: 335.5 kB / 392.3 MB, free: 6.723 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.2698, allocations: 124.5 kB / 392.4 MB, free: 6.602 MB / 346.7 MB Notification: Performance of SimCode: time 1.863e-06/0.2698, allocations: 0 / 392.4 MB, free: 6.602 MB / 346.7 MB Notification: Performance of Templates: time 0.03761/0.3075, allocations: 29.15 MB / 421.5 MB, free: 9.852 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 4.057462708093226]