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.001369/0.001369, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.001312/0.001312, allocations: 145.1 kB / 24.55 MB, free: 32 kB / 18.57 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 0.8619/0.8619, allocations: 173.4 MB / 201.1 MB, free: 9.324 MB / 186.7 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.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|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.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|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.313e-06/1.313e-06, allocations: 0 / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.568e-05/1.699e-05, allocations: 6.25 kB / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.009794/0.009811, allocations: 12.8 MB / 280.8 MB, free: 9.535 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005682/0.01549, allocations: 4.193 MB / 285 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008654/0.01636, allocations: 87.5 kB / 285.1 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.01794, allocations: 0.9782 MB / 286.1 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.01989, allocations: 1.378 MB / 287.5 MB, free: 2.871 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009985/0.02089, allocations: 0.825 MB / 288.3 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.09884/0.1197, allocations: 4.186 MB / 292.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/0.1219, allocations: 1.72 MB / 294.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003275/0.1251, allocations: 2.939 MB / 297.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.1276, allocations: 1.961 MB / 299.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008657/0.1285, allocations: 0.504 MB / 299.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.1296, allocations: 0.6916 MB / 300.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006614/0.1302, allocations: 1.177 MB / 301.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.1314, allocations: 1.451 MB / 302.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.1337, allocations: 3.448 MB / 306.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1337, allocations: 0.5 kB / 306.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1337, allocations: 1.875 kB / 306.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.967e-05/0.1338, allocations: 0 / 306.4 MB, free: 12.46 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.004819/0.1386, allocations: 4.612 MB / 311 MB, free: 9.902 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1386, allocations: 17.05 kB / 311 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.1409, allocations: 1.238 MB / 312.2 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.1429, allocations: 2.31 MB / 314.5 MB, free: 8.172 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.853e-05/0.143, allocations: 234.9 kB / 314.8 MB, free: 8.039 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002576/0.1432, allocations: 321.5 kB / 315.1 MB, free: 7.727 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002774/0.146, allocations: 2.525 MB / 317.6 MB, free: 5.117 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.656e-05/0.146, allocations: 4 kB / 317.6 MB, free: 5.113 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/0.1462, allocations: 127.9 kB / 317.7 MB, free: 4.988 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.411e-05/0.1463, allocations: 150.2 kB / 317.9 MB, free: 4.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.1483, allocations: 1.174 MB / 319.1 MB, free: 3.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009485/0.1578, allocations: 10.56 MB / 329.6 MB, free: 9.074 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/0.1602, allocations: 1.947 MB / 331.6 MB, free: 7.262 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009459/0.1611, allocations: 0.7438 MB / 332.3 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002536/0.1637, allocations: 2.271 MB / 334.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.1637, allocations: 48.92 kB / 334.6 MB, free: 4.211 MB / 282.7 MB Notification: Performance of pre-optimization done (n=124): time 2.144e-06/0.1637, allocations: 0 / 334.6 MB, free: 4.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=144): time 0.006137/0.1698, allocations: 4.034 MB / 338.7 MB, free: 176 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.1699, allocations: 64.72 kB / 338.7 MB, free: 100 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.1711, allocations: 1.429 MB / 340.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.307e-05/0.1712, allocations: 57.36 kB / 340.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007141/0.1719, allocations: 1.566 MB / 341.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002848/0.1722, allocations: 0.5265 MB / 342.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.1725, allocations: 325.1 kB / 342.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.1726, allocations: 480.8 kB / 343.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.173, allocations: 263.8 kB / 343.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000968/0.174, allocations: 0.9362 MB / 344.3 MB, free: 10.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.1752, allocations: 1.316 MB / 345.6 MB, free: 8.723 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.1752, allocations: 4 kB / 345.6 MB, free: 8.719 MB / 298.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.002017/0.1773, allocations: 1.611 MB / 347.2 MB, free: 7.195 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1773, allocations: 12 kB / 347.2 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.1773, allocations: 16 kB / 347.2 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009058/0.1782, allocations: 453.4 kB / 347.7 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007435/0.1789, allocations: 383.9 kB / 348.1 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004727/0.1837, allocations: 5.782 MB / 353.8 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.1842, allocations: 71.92 kB / 353.9 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.649e-05/0.1842, allocations: 67.98 kB / 354 MB, free: 236 kB / 298.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.0004142/0.1846, allocations: 258.9 kB / 354.2 MB, free: 0 / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.1849, allocations: 235.1 kB / 354.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.1866, allocations: 1.378 MB / 355.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.1866, allocations: 12 kB / 355.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1866, allocations: 8 kB / 355.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1866, allocations: 15.91 kB / 355.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004161/0.1908, allocations: 3.691 MB / 359.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1908, allocations: 4 kB / 359.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000501/0.1913, allocations: 215.5 kB / 359.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000781/0.1921, allocations: 430.8 kB / 360.2 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-05/0.1921, allocations: 35.98 kB / 360.2 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005839/0.198, allocations: 11.57 MB / 371.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.198, allocations: 11.48 kB / 371.8 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.2005, allocations: 1.847 MB / 373.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004154/0.2009, allocations: 338.7 kB / 374 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.2011, allocations: 39.98 kB / 374 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/0.2014, allocations: 59.95 kB / 374.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.2016, allocations: 120 kB / 374.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-05/0.2017, allocations: 39.98 kB / 374.3 MB, free: 11.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007827/0.2025, allocations: 0.8122 MB / 375.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2025, allocations: 0 / 375.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001175/0.2037, allocations: 0.5781 MB / 375.6 MB, free: 9.965 MB / 330.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.0002597/0.2039, allocations: 166.8 kB / 375.8 MB, free: 9.809 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.2058, allocations: 1.614 MB / 377.4 MB, free: 8.211 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2058, allocations: 0 / 377.4 MB, free: 8.211 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.207, allocations: 1.595 MB / 379 MB, free: 6.547 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.208, allocations: 427.9 kB / 379.4 MB, free: 6.137 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006119/0.2141, allocations: 5.145 MB / 384.6 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/0.2148, allocations: 0.8222 MB / 385.4 MB, free: 84 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000638/0.2154, allocations: 335.2 kB / 385.7 MB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.2157, allocations: 120.4 kB / 385.8 MB, free: 15.63 MB / 346.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2157, allocations: 0 / 385.8 MB, free: 15.63 MB / 346.7 MB Notification: Performance of Templates: time 0.03531/0.251, allocations: 29.67 MB / 415.5 MB, free: 2.406 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5075076641514897]