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.0009219/0.0009219, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.0009082/0.0009082, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 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.9035/0.9035, allocations: 173.4 MB / 202.2 MB, free: 8.277 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 4.098e-06/4.098e-06, allocations: 3.984 kB / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/2.076e-05, allocations: 2.312 kB / 269.2 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.0133/0.01332, allocations: 12.37 MB / 281.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006917/0.02024, allocations: 4.154 MB / 285.7 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.02127, allocations: 91.44 kB / 285.8 MB, free: 9.105 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.02291, allocations: 0.9821 MB / 286.8 MB, free: 8.117 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002171/0.02508, allocations: 1.363 MB / 288.2 MB, free: 6.746 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.0262, allocations: 0.8201 MB / 289 MB, free: 5.926 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003159/0.02936, allocations: 4.203 MB / 293.2 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.03101, allocations: 1.726 MB / 294.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002477/0.03348, allocations: 2.944 MB / 297.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/0.0353, allocations: 1.972 MB / 299.8 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005454/0.03585, allocations: 0.5039 MB / 300.3 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008204/0.03667, allocations: 0.691 MB / 301 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006855/0.03735, allocations: 1.176 MB / 302.2 MB, free: 8.609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.03848, allocations: 1.45 MB / 303.7 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002614/0.0411, allocations: 3.435 MB / 307.1 MB, free: 3.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.0411, allocations: 0 / 307.1 MB, free: 3.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.0411, allocations: 4 kB / 307.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.267e-05/0.04115, allocations: 0 / 307.1 MB, free: 3.707 MB / 282.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.005136/0.04628, allocations: 4.511 MB / 311.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.574e-05/0.04631, allocations: 8.031 kB / 311.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/0.04863, allocations: 1.162 MB / 312.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/0.05072, allocations: 2.192 MB / 315 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.05084, allocations: 242.6 kB / 315.2 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000301/0.05114, allocations: 324.3 kB / 315.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/0.05367, allocations: 2.316 MB / 317.8 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.966e-05/0.05372, allocations: 3.938 kB / 317.8 MB, free: 8.738 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.05391, allocations: 128 kB / 318 MB, free: 8.613 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.05402, allocations: 150.2 kB / 318.1 MB, free: 8.465 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.05535, allocations: 0.9014 MB / 319 MB, free: 7.551 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009762/0.06512, allocations: 10.5 MB / 329.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.06717, allocations: 1.794 MB / 331.3 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007352/0.06791, allocations: 0.6508 MB / 332 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002471/0.07038, allocations: 2.214 MB / 334.2 MB, free: 8.156 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.07041, allocations: 54.39 kB / 334.2 MB, free: 8.094 MB / 314.7 MB Notification: Performance of pre-optimization done (n=124): time 1.973e-06/0.07041, allocations: 0 / 334.2 MB, free: 8.094 MB / 314.7 MB Notification: Performance of matching and sorting (n=144): time 0.005135/0.07554, allocations: 3.414 MB / 337.6 MB, free: 4.621 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.07558, allocations: 76.59 kB / 337.7 MB, free: 4.535 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.07666, allocations: 1.376 MB / 339.1 MB, free: 3.137 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.07672, allocations: 53.7 kB / 339.1 MB, free: 3.078 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007266/0.07745, allocations: 1.582 MB / 340.7 MB, free: 1.484 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/0.07775, allocations: 0.5307 MB / 341.3 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003319/0.07808, allocations: 333 kB / 341.6 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.07819, allocations: 480.8 kB / 342.1 MB, free: 148 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1101/0.1883, allocations: 194.4 kB / 342.2 MB, free: 56.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.1893, allocations: 0.8895 MB / 343.1 MB, free: 56.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.1904, allocations: 1.206 MB / 344.3 MB, free: 55.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.594e-05/0.1904, allocations: 3.938 kB / 344.3 MB, free: 55.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.002344/0.1927, allocations: 1.459 MB / 345.8 MB, free: 55.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.1927, allocations: 11.91 kB / 345.8 MB, free: 55.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.1928, allocations: 12.69 kB / 345.8 MB, free: 55.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000998/0.1938, allocations: 437.7 kB / 346.3 MB, free: 55.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000809/0.1946, allocations: 369.9 kB / 346.6 MB, free: 55.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003369/0.1979, allocations: 5.62 MB / 352.2 MB, free: 51.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006863/0.1986, allocations: 61.2 kB / 352.3 MB, free: 51.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/0.1987, allocations: 56.81 kB / 352.3 MB, free: 51.63 MB / 314.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.0005602/0.1993, allocations: 263.3 kB / 352.6 MB, free: 51.47 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.1995, allocations: 234 kB / 352.8 MB, free: 51.47 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.2009, allocations: 1.26 MB / 354.1 MB, free: 51.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.2009, allocations: 17.34 kB / 354.1 MB, free: 51.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.2009, allocations: 9.562 kB / 354.1 MB, free: 51.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.2009, allocations: 7.781 kB / 354.1 MB, free: 51.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003131/0.204, allocations: 3.031 MB / 357.2 MB, free: 50.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.204, allocations: 0 / 357.2 MB, free: 50.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004517/0.2045, allocations: 208.7 kB / 357.4 MB, free: 50.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006697/0.2051, allocations: 410.6 kB / 357.8 MB, free: 50.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/0.2052, allocations: 36.81 kB / 357.8 MB, free: 50.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003917/0.2091, allocations: 11.35 MB / 369.2 MB, free: 41.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2091, allocations: 0 / 369.2 MB, free: 41.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.2115, allocations: 1.678 MB / 370.8 MB, free: 40.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00058/0.212, allocations: 327.4 kB / 371.1 MB, free: 40.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.2122, allocations: 32.19 kB / 371.2 MB, free: 40.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004944/0.2127, allocations: 51.41 kB / 371.2 MB, free: 40.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.2129, allocations: 120.1 kB / 371.3 MB, free: 40.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.213, allocations: 26.58 kB / 371.4 MB, free: 40.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007351/0.2137, allocations: 0.7435 MB / 372.1 MB, free: 40.53 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2137, allocations: 0 / 372.1 MB, free: 40.53 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001585/0.2153, allocations: 0.5792 MB / 372.7 MB, free: 40.53 MB / 314.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.0002644/0.2156, allocations: 164.4 kB / 372.9 MB, free: 40.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.2173, allocations: 1.518 MB / 374.4 MB, free: 39.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.2173, allocations: 4 kB / 374.4 MB, free: 39.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.2183, allocations: 1.538 MB / 375.9 MB, free: 38.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.2194, allocations: 439.5 kB / 376.3 MB, free: 38.01 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005965/0.2254, allocations: 5.067 MB / 381.4 MB, free: 33.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/0.226, allocations: 0.8306 MB / 382.2 MB, free: 32.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006298/0.2266, allocations: 244.6 kB / 382.5 MB, free: 32.53 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006204/0.2273, allocations: 488.3 kB / 383 MB, free: 32.12 MB / 314.7 MB Notification: Performance of SimCode: time 1.643e-06/0.2273, allocations: 0 / 383 MB, free: 32.12 MB / 314.7 MB Notification: Performance of Templates: time 0.03404/0.2613, allocations: 30.84 MB / 413.8 MB, free: 1.988 MB / 314.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.733310593292117]