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.001921/0.001921, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001975/0.001975, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 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.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.754 MB / 206.1 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 0.00154/0.00154, allocations: 47.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2081, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01512/0.2232, allocations: 11.85 MB / 444.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006698/0.2299, allocations: 4.295 MB / 448.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007282/0.2306, allocations: 95.44 kB / 448.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.2327, allocations: 0.9824 MB / 449.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002639/0.2353, allocations: 1.301 MB / 450.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.2371, allocations: 0.8802 MB / 451.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004116/0.2412, allocations: 4.078 MB / 455.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002383/0.2436, allocations: 1.796 MB / 457.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.2457, allocations: 1.955 MB / 459.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002773/0.2485, allocations: 2.269 MB / 461.8 MB, free: 9.043 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006348/0.2491, allocations: 0.5078 MB / 462.4 MB, free: 8.535 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.2503, allocations: 0.7146 MB / 463.1 MB, free: 7.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.2513, allocations: 1.149 MB / 464.2 MB, free: 6.668 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001759/0.2531, allocations: 1.681 MB / 465.9 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006637/0.2597, allocations: 6.837 MB / 472.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2597, allocations: 4 kB / 472.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2597, allocations: 0 / 472.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.634e-05/0.2598, allocations: 0 / 472.7 MB, free: 14.12 MB / 382.1 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.009997/0.2698, allocations: 4.451 MB / 477.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.2698, allocations: 8.031 kB / 477.2 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00464/0.2745, allocations: 0.8456 MB / 478 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004713/0.2792, allocations: 2.44 MB / 480.5 MB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.2794, allocations: 230.6 kB / 480.7 MB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005232/0.2799, allocations: 319.9 kB / 481 MB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007295/0.2872, allocations: 4.416 MB / 485.4 MB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.416e-05/0.2873, allocations: 7.953 kB / 485.4 MB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003179/0.2876, allocations: 128 kB / 485.6 MB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001516/0.2877, allocations: 142.2 kB / 485.7 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006265/0.294, allocations: 3.663 MB / 489.4 MB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01887/0.3129, allocations: 11.46 MB / 0.4891 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005226/0.3181, allocations: 2.592 MB / 0.4916 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002345/0.3204, allocations: 1.289 MB / 0.4929 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00587/0.3263, allocations: 3.045 MB / 0.4959 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.3264, allocations: 55.55 kB / 0.4959 GB, free: 10.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.016e-06/0.3264, allocations: 0 / 0.4959 GB, free: 10.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01343/0.3398, allocations: 6.06 MB / 0.5018 GB, free: 4.488 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.3398, allocations: 64.72 kB / 0.5019 GB, free: 4.414 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00232/0.3422, allocations: 1.703 MB / 0.5036 GB, free: 2.703 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.3423, allocations: 49.7 kB / 0.5036 GB, free: 2.648 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.3434, allocations: 1.489 MB / 0.5051 GB, free: 1.145 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00045/0.3439, allocations: 0.5151 MB / 0.5056 GB, free: 0.625 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005197/0.3444, allocations: 307.5 kB / 0.5059 GB, free: 328 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3445, allocations: 305.1 kB / 0.5061 GB, free: 20 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.3458, allocations: 0.7613 MB / 0.5069 GB, free: 15.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.3475, allocations: 1.249 MB / 0.5081 GB, free: 13.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/0.3507, allocations: 2.115 MB / 0.5102 GB, free: 11.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.3507, allocations: 7.938 kB / 0.5102 GB, free: 11.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004724/0.3554, allocations: 2.637 MB / 0.5128 GB, free: 8.844 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.3554, allocations: 16 kB / 0.5128 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.3555, allocations: 15.94 kB / 0.5128 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/0.3569, allocations: 0.5021 MB / 0.5133 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.3585, allocations: 391.4 kB / 0.5136 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009008/0.3675, allocations: 6.556 MB / 0.5201 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.3685, allocations: 75.91 kB / 0.5201 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.3687, allocations: 71.98 kB / 0.5202 GB, free: 1.016 MB / 430.1 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.001517/0.3702, allocations: 1.056 MB / 0.5212 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/0.3705, allocations: 190.8 kB / 0.5214 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004476/0.3749, allocations: 2.328 MB / 0.5237 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.375, allocations: 12 kB / 0.5237 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.375, allocations: 8 kB / 0.5237 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.375, allocations: 7.969 kB / 0.5237 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008138/0.3831, allocations: 4.627 MB / 0.5282 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.3831, allocations: 4 kB / 0.5282 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.3842, allocations: 211.7 kB / 0.5284 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/0.3856, allocations: 0.5101 MB / 0.5289 GB, free: 7.934 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.3857, allocations: 39.98 kB / 0.529 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1852/0.5709, allocations: 10.65 MB / 0.5394 GB, free: 97.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5709, allocations: 2.031 kB / 0.5394 GB, free: 97.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005115/0.576, allocations: 3.398 MB / 0.5427 GB, free: 96.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008802/0.5769, allocations: 380.3 kB / 0.5431 GB, free: 95.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.5771, allocations: 33.52 kB / 0.5431 GB, free: 95.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009208/0.578, allocations: 66.09 kB / 0.5431 GB, free: 95.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/0.5783, allocations: 118.6 kB / 0.5433 GB, free: 95.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.475e-05/0.5784, allocations: 48.09 kB / 0.5433 GB, free: 95.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00148/0.5799, allocations: 1.149 MB / 0.5444 GB, free: 95.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5799, allocations: 0 / 0.5444 GB, free: 95.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001704/0.5816, allocations: 0.5862 MB / 0.545 GB, free: 95.38 MB / 446.1 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.0002495/0.5818, allocations: 170 kB / 0.5452 GB, free: 95.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003176/0.585, allocations: 2.319 MB / 0.5474 GB, free: 94.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.585, allocations: 0 / 0.5474 GB, free: 94.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001953/0.5869, allocations: 1.662 MB / 0.5491 GB, free: 93.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.5886, allocations: 438.8 kB / 0.5495 GB, free: 93.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00708/0.5957, allocations: 6.033 MB / 0.5554 GB, free: 89.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/0.5971, allocations: 1.826 MB / 0.5571 GB, free: 87.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009239/0.598, allocations: 393.8 kB / 0.5575 GB, free: 87.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.5983, allocations: 122.1 kB / 0.5576 GB, free: 87.32 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5983, allocations: 0 / 0.5576 GB, free: 87.32 MB / 446.1 MB Notification: Performance of Templates: time 0.04/0.6383, allocations: 33.46 MB / 0.5903 GB, free: 55.12 MB / 446.1 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 -s gbode -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/jenkins1/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/jenkins1/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: 6.74946968400036]