Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 78.8 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 149.7 kB / 23.94 MB, free: 4.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 318.9 MB, free: 3.414 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.874e-05, allocations: 2.281 kB / 318.9 MB, free: 3.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01269/0.01271, allocations: 11.3 MB / 330.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008259/0.02097, allocations: 4.034 MB / 334.3 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.0223, allocations: 93.56 kB / 334.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002388/0.02469, allocations: 0.9804 MB / 335.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003439/0.02813, allocations: 1.369 MB / 336.7 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.02998, allocations: 0.8201 MB / 337.5 MB, free: 6.762 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004794/0.03477, allocations: 4.198 MB / 341.7 MB, free: 4.113 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.03721, allocations: 1.711 MB / 343.5 MB, free: 2.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003835/0.04104, allocations: 2.823 MB / 346.3 MB, free: 104 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002798/0.04384, allocations: 1.812 MB / 348.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007439/0.04459, allocations: 0.5078 MB / 348.6 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.04594, allocations: 0.6949 MB / 349.3 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.04706, allocations: 1.172 MB / 350.5 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001865/0.04892, allocations: 1.442 MB / 351.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007375/0.0563, allocations: 6.817 MB / 358.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.0563, allocations: 0 / 358.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.0563, allocations: 4 kB / 358.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.647e-05/0.0564, allocations: 0 / 358.7 MB, free: 3.621 MB / 318.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.01064/0.06703, allocations: 4.377 MB / 363.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.06707, allocations: 12.91 kB / 363.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004433/0.07151, allocations: 0.8261 MB / 363.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004383/0.07589, allocations: 2.404 MB / 366.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.0761, allocations: 230.6 kB / 366.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000573/0.07667, allocations: 316.3 kB / 366.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007439/0.08411, allocations: 4.405 MB / 371.3 MB, free: 6.859 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.058e-05/0.08418, allocations: 7.891 kB / 371.3 MB, free: 6.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003264/0.0845, allocations: 128 kB / 371.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/0.08468, allocations: 146.2 kB / 371.6 MB, free: 6.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006947/0.09162, allocations: 3.659 MB / 375.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02847/0.1201, allocations: 11.45 MB / 386.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00786/0.128, allocations: 2.577 MB / 389.2 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003537/0.1315, allocations: 1.3 MB / 390.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00876/0.1403, allocations: 3.003 MB / 393.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.007e-05/0.1403, allocations: 47.56 kB / 393.6 MB, free: 312 kB / 350.1 MB Notification: Performance of pre-optimization done (n=124): time 4.629e-06/0.1403, allocations: 0 / 393.6 MB, free: 312 kB / 350.1 MB Notification: Performance of matching and sorting (n=144): time 0.0145/0.1548, allocations: 6.056 MB / 399.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.1549, allocations: 72.66 kB / 399.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.1575, allocations: 1.662 MB / 401.4 MB, free: 8.445 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.1576, allocations: 53.7 kB / 401.4 MB, free: 8.387 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.1589, allocations: 1.465 MB / 402.9 MB, free: 6.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004778/0.1594, allocations: 0.5112 MB / 403.4 MB, free: 6.395 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005174/0.1599, allocations: 303.5 kB / 403.7 MB, free: 6.094 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.16, allocations: 301.1 kB / 404 MB, free: 5.797 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.1613, allocations: 0.7652 MB / 404.8 MB, free: 5.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.163, allocations: 1.249 MB / 406 MB, free: 3.582 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003178/0.1662, allocations: 2.104 MB / 408.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.1662, allocations: 4 kB / 408.1 MB, free: 1.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004909/0.1711, allocations: 2.637 MB / 410.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.1712, allocations: 12 kB / 410.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/0.1712, allocations: 12 kB / 410.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.1727, allocations: 0.5023 MB / 411.3 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.1742, allocations: 387.4 kB / 411.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009265/0.1835, allocations: 6.573 MB / 418.2 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.185, allocations: 79.91 kB / 418.3 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.1852, allocations: 72.16 kB / 418.4 MB, free: 6.793 MB / 382.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.001995/0.1872, allocations: 1.052 MB / 419.4 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003801/0.1876, allocations: 186.8 kB / 419.6 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004519/0.1921, allocations: 2.312 MB / 421.9 MB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.1921, allocations: 16 kB / 421.9 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.1921, allocations: 7.938 kB / 422 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.1921, allocations: 11.97 kB / 422 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008142/0.2003, allocations: 4.6 MB / 426.6 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/0.2003, allocations: 4 kB / 426.6 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.2013, allocations: 219.9 kB / 426.8 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001365/0.2027, allocations: 499.9 kB / 427.3 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.762e-05/0.2028, allocations: 31.98 kB / 427.3 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01171/0.2145, allocations: 10.69 MB / 438 MB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2145, allocations: 4.062 kB / 438 MB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005945/0.2204, allocations: 3.377 MB / 441.4 MB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009584/0.2214, allocations: 370.7 kB / 441.7 MB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/0.2216, allocations: 28 kB / 441.8 MB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009169/0.2226, allocations: 71.94 kB / 441.8 MB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/0.2228, allocations: 121 kB / 441.9 MB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.2229, allocations: 39.98 kB / 442 MB, free: 14.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001756/0.2247, allocations: 1.129 MB / 443.1 MB, free: 13.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2247, allocations: 0 / 443.1 MB, free: 13.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001915/0.2266, allocations: 0.5859 MB / 443.7 MB, free: 12.78 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.0003468/0.227, allocations: 174.2 kB / 443.9 MB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004212/0.2312, allocations: 2.309 MB / 446.2 MB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.2312, allocations: 4.375 kB / 446.2 MB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002739/0.2339, allocations: 1.661 MB / 447.8 MB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.2359, allocations: 424 kB / 448.3 MB, free: 8.137 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009793/0.2457, allocations: 5.842 MB / 454.1 MB, free: 2.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002074/0.2477, allocations: 1.807 MB / 455.9 MB, free: 412 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001226/0.249, allocations: 395.2 kB / 456.3 MB, free: 12 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/0.2493, allocations: 120.5 kB / 456.4 MB, free: 15.89 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2493, allocations: 4 kB / 456.4 MB, free: 15.89 MB / 430.1 MB Notification: Performance of Templates: time 0.2064/0.4557, allocations: 28.42 MB / 484.8 MB, free: 122.2 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.835195377469063]