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.001653/0.001653, allocations: 88.33 kB / 20.96 MB, free: 3.441 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.001944/0.001944, allocations: 161.7 kB / 24.27 MB, free: 140 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 1.446/1.446, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.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_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.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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.069e-05/1.069e-05, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/3.546e-05, allocations: 3.156 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01701/0.01705, allocations: 11.84 MB / 284.2 MB, free: 5.902 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009449/0.0265, allocations: 4.33 MB / 288.5 MB, free: 1.559 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001536/0.02804, allocations: 99.44 kB / 288.6 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00254/0.03058, allocations: 0.9937 MB / 289.6 MB, free: 472 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1093/0.1399, allocations: 1.337 MB / 290.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.1419, allocations: 0.8804 MB / 291.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004449/0.1464, allocations: 4.254 MB / 296.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/0.1487, allocations: 1.717 MB / 297.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004277/0.1529, allocations: 2.837 MB / 300.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002862/0.1558, allocations: 1.82 MB / 302.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007378/0.1565, allocations: 0.5082 MB / 302.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.158, allocations: 0.7237 MB / 303.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000696/0.1587, allocations: 1.17 MB / 304.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.1603, allocations: 1.446 MB / 306.3 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004938/0.1652, allocations: 6.864 MB / 313.2 MB, free: 6.219 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1652, allocations: 0 / 313.2 MB, free: 6.219 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1652, allocations: 3 kB / 313.2 MB, free: 6.219 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.797e-05/0.1653, allocations: 3.984 kB / 313.2 MB, free: 6.215 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.008819/0.1741, allocations: 4.41 MB / 317.6 MB, free: 1.992 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1742, allocations: 8.031 kB / 317.6 MB, free: 1.984 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004624/0.1788, allocations: 1.257 MB / 318.8 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005174/0.184, allocations: 2.544 MB / 321.4 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/0.1842, allocations: 234.6 kB / 321.6 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005948/0.1848, allocations: 319.8 kB / 321.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008447/0.1932, allocations: 4.409 MB / 326.3 MB, free: 9.219 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.029e-05/0.1933, allocations: 7.953 kB / 326.3 MB, free: 9.211 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003962/0.1937, allocations: 131 kB / 326.5 MB, free: 9.086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000187/0.1939, allocations: 150.2 kB / 326.6 MB, free: 8.938 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007187/0.2011, allocations: 3.658 MB / 330.3 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02224/0.2233, allocations: 11.71 MB / 342 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005875/0.2292, allocations: 2.611 MB / 344.6 MB, free: 7.086 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002637/0.2318, allocations: 1.307 MB / 345.9 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006573/0.2384, allocations: 3.066 MB / 349 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.207e-05/0.2385, allocations: 47.56 kB / 349 MB, free: 2.688 MB / 298.7 MB Notification: Performance of pre-optimization done (n=124): time 3.046e-06/0.2385, allocations: 0 / 349 MB, free: 2.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=144): time 0.01524/0.2537, allocations: 6.122 MB / 355.1 MB, free: 12.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/0.2538, allocations: 72.64 kB / 355.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002807/0.2566, allocations: 1.687 MB / 356.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.2567, allocations: 53.7 kB / 356.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001583/0.2583, allocations: 1.491 MB / 358.4 MB, free: 9.227 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005322/0.2588, allocations: 0.5091 MB / 358.9 MB, free: 8.727 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005526/0.2594, allocations: 311.4 kB / 359.2 MB, free: 8.418 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.2596, allocations: 308.5 kB / 359.5 MB, free: 8.117 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.261, allocations: 0.7574 MB / 360.3 MB, free: 7.359 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/0.2629, allocations: 1.252 MB / 361.6 MB, free: 5.918 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003506/0.2664, allocations: 2.106 MB / 363.7 MB, free: 3.676 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/0.2664, allocations: 8 kB / 363.7 MB, free: 3.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005596/0.272, allocations: 2.719 MB / 366.4 MB, free: 1.039 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.272, allocations: 12.03 kB / 366.4 MB, free: 1.027 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/0.2721, allocations: 16 kB / 366.4 MB, free: 1.012 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/0.274, allocations: 0.5867 MB / 367 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.2755, allocations: 385 kB / 367.4 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.2861, allocations: 6.607 MB / 374 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.2875, allocations: 84.06 kB / 374.1 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.2876, allocations: 68 kB / 374.1 MB, free: 9.141 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.002011/0.2896, allocations: 1.046 MB / 375.2 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000484/0.2901, allocations: 238.7 kB / 375.4 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004895/0.295, allocations: 2.318 MB / 377.7 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/0.295, allocations: 19.98 kB / 377.8 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/0.2951, allocations: 8 kB / 377.8 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.2951, allocations: 3.984 kB / 377.8 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009226/0.3043, allocations: 4.625 MB / 382.4 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.3043, allocations: 0 / 382.4 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.3054, allocations: 226.3 kB / 382.6 MB, free: 0.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001812/0.3072, allocations: 0.5598 MB / 383.2 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.3073, allocations: 35.98 kB / 383.2 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/0.3211, allocations: 10.72 MB / 393.9 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.3211, allocations: 3.469 kB / 393.9 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006777/0.3279, allocations: 3.448 MB / 397.4 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.329, allocations: 378.1 kB / 397.7 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/0.3292, allocations: 32 kB / 397.8 MB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009124/0.3301, allocations: 67.92 kB / 397.8 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003368/0.3305, allocations: 120.7 kB / 398 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.3306, allocations: 43.98 kB / 398 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001967/0.3325, allocations: 1.153 MB / 399.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3325, allocations: 3.938 kB / 399.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002107/0.3346, allocations: 0.582 MB / 399.7 MB, free: 15.09 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.0003524/0.335, allocations: 169.2 kB / 399.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004726/0.3397, allocations: 2.316 MB / 402.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3397, allocations: 0 / 402.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002917/0.3426, allocations: 1.67 MB / 403.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/0.3447, allocations: 444.9 kB / 404.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.3557, allocations: 5.956 MB / 410.3 MB, free: 4.492 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002427/0.3581, allocations: 1.812 MB / 412.1 MB, free: 2.645 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001317/0.3594, allocations: 403.5 kB / 412.5 MB, free: 2.246 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/0.3598, allocations: 128.5 kB / 412.6 MB, free: 2.121 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3598, allocations: 0 / 412.6 MB, free: 2.121 MB / 362.7 MB Notification: Performance of Templates: time 0.1655/0.5253, allocations: 29 MB / 441.6 MB, free: 112.4 MB / 378.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.799315194948576]