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.001768/0.001768, allocations: 83.06 kB / 20.68 MB, free: 1.023 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.002124/0.002124, allocations: 163.8 kB / 23.95 MB, free: 4.156 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.425/1.425, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.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 1.523e-06/1.523e-06, allocations: 0 / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.898e-05, allocations: 7.375 kB / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.0149/0.01492, allocations: 11.87 MB / 337 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009079/0.024, allocations: 4.307 MB / 341.3 MB, free: 4.809 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.02527, allocations: 96.78 kB / 341.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002353/0.02762, allocations: 0.9945 MB / 342.3 MB, free: 3.859 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003085/0.03071, allocations: 1.343 MB / 343.7 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.0327, allocations: 0.8713 MB / 344.6 MB, free: 1.633 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004998/0.0377, allocations: 4.267 MB / 348.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002364/0.04006, allocations: 1.726 MB / 350.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003559/0.04362, allocations: 2.842 MB / 353.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002577/0.0462, allocations: 1.816 MB / 355.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006785/0.04688, allocations: 0.5078 MB / 355.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.04818, allocations: 0.7183 MB / 356.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.04929, allocations: 1.176 MB / 357.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001777/0.05107, allocations: 1.438 MB / 359.1 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007352/0.05842, allocations: 6.868 MB / 365.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.05843, allocations: 4 kB / 365.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.05843, allocations: 0 / 365.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001177/0.05855, allocations: 4 kB / 365.9 MB, free: 12.14 MB / 334.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.01103/0.06957, allocations: 4.408 MB / 370.3 MB, free: 7.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.06961, allocations: 8.031 kB / 370.3 MB, free: 7.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004764/0.07438, allocations: 0.8378 MB / 371.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004753/0.07913, allocations: 2.435 MB / 373.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.07934, allocations: 234.6 kB / 373.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005773/0.07991, allocations: 312.3 kB / 374.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007705/0.08762, allocations: 4.416 MB / 378.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.688e-05/0.08769, allocations: 15.94 kB / 378.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003262/0.08802, allocations: 120 kB / 378.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/0.08818, allocations: 150.2 kB / 378.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006574/0.09476, allocations: 3.659 MB / 382.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01927/0.114, allocations: 11.47 MB / 394 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005282/0.1193, allocations: 2.596 MB / 396.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002336/0.1216, allocations: 1.301 MB / 397.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005701/0.1273, allocations: 3.045 MB / 400.9 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/0.1274, allocations: 51.56 kB / 401 MB, free: 8.656 MB / 366.1 MB Notification: Performance of pre-optimization done (n=124): time 3.176e-06/0.1274, allocations: 0 / 401 MB, free: 8.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=144): time 0.0137/0.1411, allocations: 6.069 MB / 407 MB, free: 2.547 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.1412, allocations: 68.72 kB / 407.1 MB, free: 2.465 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002484/0.1436, allocations: 1.691 MB / 408.8 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.1438, allocations: 45.7 kB / 408.8 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001162/0.1449, allocations: 1.493 MB / 410.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004331/0.1453, allocations: 0.5034 MB / 410.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005185/0.1459, allocations: 303.5 kB / 411.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.146, allocations: 309.1 kB / 411.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.1473, allocations: 0.7574 MB / 412.2 MB, free: 13.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.149, allocations: 1.261 MB / 413.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003169/0.1522, allocations: 2.108 MB / 415.6 MB, free: 9.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.1522, allocations: 4 kB / 415.6 MB, free: 9.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004797/0.157, allocations: 2.645 MB / 418.2 MB, free: 6.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.157, allocations: 8 kB / 418.2 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.1571, allocations: 16 kB / 418.2 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.1585, allocations: 0.5017 MB / 418.7 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.1601, allocations: 391.4 kB / 419.1 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009126/0.1692, allocations: 6.564 MB / 425.7 MB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.1704, allocations: 79.91 kB / 425.8 MB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.1705, allocations: 68 kB / 425.8 MB, free: 15.08 MB / 398.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.001848/0.1724, allocations: 1.063 MB / 426.9 MB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003116/0.1727, allocations: 186.8 kB / 427.1 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004447/0.1771, allocations: 2.321 MB / 429.4 MB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.1772, allocations: 12 kB / 429.4 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.1772, allocations: 8 kB / 429.4 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.1772, allocations: 3.984 kB / 429.4 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008157/0.1853, allocations: 4.624 MB / 434 MB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.1853, allocations: 4 kB / 434 MB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.1864, allocations: 219.9 kB / 434.3 MB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/0.1877, allocations: 0.4908 MB / 434.7 MB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.1878, allocations: 35.98 kB / 434.8 MB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/0.1996, allocations: 10.67 MB / 445.4 MB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1996, allocations: 0 / 445.4 MB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005979/0.2055, allocations: 3.385 MB / 448.8 MB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009129/0.2065, allocations: 382.5 kB / 449.2 MB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/0.2067, allocations: 28 kB / 449.2 MB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009125/0.2076, allocations: 67.95 kB / 449.3 MB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002914/0.2079, allocations: 117 kB / 449.4 MB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-05/0.208, allocations: 43.98 kB / 449.5 MB, free: 6.758 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001777/0.2098, allocations: 1.145 MB / 450.6 MB, free: 5.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2098, allocations: 4 kB / 450.6 MB, free: 5.613 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00197/0.2117, allocations: 0.5859 MB / 451.2 MB, free: 5.027 MB / 414.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.0003511/0.2121, allocations: 179 kB / 451.4 MB, free: 4.844 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004289/0.2164, allocations: 2.305 MB / 453.7 MB, free: 2.516 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.2164, allocations: 8.125 kB / 453.7 MB, free: 2.508 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00272/0.2191, allocations: 1.668 MB / 455.3 MB, free: 0.7734 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/0.2211, allocations: 435.8 kB / 455.8 MB, free: 360 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009815/0.231, allocations: 5.85 MB / 461.6 MB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002098/0.2331, allocations: 1.831 MB / 463.5 MB, free: 8.586 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001177/0.2342, allocations: 395.5 kB / 463.8 MB, free: 8.195 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003741/0.2346, allocations: 124.5 kB / 464 MB, free: 8.074 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2346, allocations: 0 / 464 MB, free: 8.074 MB / 430.1 MB Notification: Performance of Templates: time 0.1937/0.4283, allocations: 28.89 MB / 492.8 MB, free: 117.7 MB / 430.1 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=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.875294625759125]