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.001901/0.001901, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002426/0.002426, allocations: 156.9 kB / 24.27 MB, free: 172 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.483/1.483, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|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.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|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.593e-06/1.593e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.712e-05, allocations: 5.266 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01685/0.01688, allocations: 11.84 MB / 284.1 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009172/0.02605, allocations: 4.322 MB / 288.4 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.02755, allocations: 99.38 kB / 288.5 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002643/0.03019, allocations: 0.9938 MB / 289.5 MB, free: 460 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1167/0.1469, allocations: 1.332 MB / 290.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.149, allocations: 0.8797 MB / 291.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004631/0.1536, allocations: 4.265 MB / 296 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.1559, allocations: 1.716 MB / 297.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004411/0.1603, allocations: 2.837 MB / 300.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002894/0.1632, allocations: 1.822 MB / 302.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007959/0.164, allocations: 0.5074 MB / 302.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.1656, allocations: 0.7208 MB / 303.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007963/0.1664, allocations: 1.171 MB / 304.7 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.168, allocations: 1.443 MB / 306.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00493/0.173, allocations: 6.868 MB / 313 MB, free: 6.188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.173, allocations: 0 / 313 MB, free: 6.188 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.173, allocations: 0 / 313 MB, free: 6.188 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001047/0.1731, allocations: 0 / 313 MB, free: 6.188 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.008581/0.1816, allocations: 4.418 MB / 317.5 MB, free: 1.973 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1817, allocations: 11.98 kB / 317.5 MB, free: 1.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00431/0.186, allocations: 1.255 MB / 318.7 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005091/0.1911, allocations: 2.539 MB / 321.3 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/0.1913, allocations: 234.6 kB / 321.5 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007165/0.1921, allocations: 319.4 kB / 321.8 MB, free: 13.69 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009122/0.2012, allocations: 4.418 MB / 326.2 MB, free: 9.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.733e-05/0.2013, allocations: 3.953 kB / 326.2 MB, free: 9.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003394/0.2016, allocations: 139.8 kB / 326.4 MB, free: 9.059 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001884/0.2018, allocations: 144.6 kB / 326.5 MB, free: 8.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00713/0.2089, allocations: 3.654 MB / 330.2 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02234/0.2313, allocations: 11.71 MB / 341.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005493/0.2367, allocations: 2.606 MB / 344.5 MB, free: 7.078 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002819/0.2396, allocations: 1.308 MB / 345.8 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006433/0.246, allocations: 3.073 MB / 348.9 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/0.246, allocations: 43.56 kB / 348.9 MB, free: 2.676 MB / 298.7 MB Notification: Performance of pre-optimization done (n=124): time 3.145e-06/0.246, allocations: 0 / 348.9 MB, free: 2.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=144): time 0.01514/0.2612, allocations: 6.126 MB / 355 MB, free: 12.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.2613, allocations: 72.66 kB / 355.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00287/0.2641, allocations: 1.687 MB / 356.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.2642, allocations: 53.7 kB / 356.8 MB, free: 10.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.2656, allocations: 1.483 MB / 358.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005397/0.2661, allocations: 0.5149 MB / 358.8 MB, free: 8.707 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000613/0.2667, allocations: 307.4 kB / 359.1 MB, free: 8.402 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2669, allocations: 301.1 kB / 359.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/0.2686, allocations: 0.7652 MB / 360.2 MB, free: 7.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/0.2705, allocations: 1.253 MB / 361.4 MB, free: 5.898 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003456/0.274, allocations: 2.11 MB / 363.6 MB, free: 3.652 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.998e-06/0.274, allocations: 4 kB / 363.6 MB, free: 3.648 MB / 314.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.00546/0.2794, allocations: 2.721 MB / 366.3 MB, free: 1.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.2795, allocations: 12 kB / 366.3 MB, free: 1.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/0.2795, allocations: 12 kB / 366.3 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002026/0.2815, allocations: 0.5894 MB / 366.9 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.2831, allocations: 389.1 kB / 367.3 MB, free: 44 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.2931, allocations: 6.602 MB / 373.9 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.2947, allocations: 75.91 kB / 373.9 MB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003109/0.295, allocations: 71.98 kB / 374 MB, free: 9.125 MB / 330.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.002178/0.2972, allocations: 1.048 MB / 375.1 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005927/0.2978, allocations: 238.9 kB / 375.3 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0049/0.3027, allocations: 2.328 MB / 377.6 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.3027, allocations: 12 kB / 377.6 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/0.3027, allocations: 8 kB / 377.6 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.3028, allocations: 7.969 kB / 377.7 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009693/0.3125, allocations: 4.625 MB / 382.3 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.3125, allocations: 4 kB / 382.3 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.3136, allocations: 218.5 kB / 382.5 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/0.3154, allocations: 0.5682 MB / 383.1 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.3155, allocations: 35.98 kB / 383.1 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01391/0.3294, allocations: 10.72 MB / 393.8 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.3294, allocations: 4.031 kB / 393.8 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006678/0.3361, allocations: 3.442 MB / 397.3 MB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.3372, allocations: 378.6 kB / 397.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/0.3375, allocations: 28 kB / 397.7 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009315/0.3384, allocations: 67.95 kB / 397.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003461/0.3388, allocations: 124.5 kB / 397.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.3389, allocations: 39.98 kB / 397.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001949/0.3408, allocations: 1.145 MB / 399 MB, free: 15.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3408, allocations: 0 / 399 MB, free: 15.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002159/0.343, allocations: 0.5898 MB / 399.6 MB, free: 15.07 MB / 362.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.0003689/0.3433, allocations: 171.7 kB / 399.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004572/0.3479, allocations: 2.319 MB / 402.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3479, allocations: 0 / 402.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003004/0.3509, allocations: 1.673 MB / 403.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/0.3532, allocations: 453.2 kB / 404.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.3643, allocations: 5.931 MB / 410.2 MB, free: 4.492 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002483/0.3668, allocations: 1.831 MB / 412 MB, free: 2.625 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001361/0.3681, allocations: 391.5 kB / 412.4 MB, free: 2.238 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003947/0.3685, allocations: 128.5 kB / 412.5 MB, free: 2.113 MB / 362.7 MB Notification: Performance of SimCode: time 1.163e-06/0.3685, allocations: 0 / 412.5 MB, free: 2.113 MB / 362.7 MB Notification: Performance of Templates: time 0.1836/0.5521, allocations: 29 MB / 441.5 MB, free: 112.3 MB / 378.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.980618753936142]