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.00101/0.00101, allocations: 75.91 kB / 21.18 MB, free: 3.395 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.0009173/0.0009173, allocations: 145.5 kB / 24.54 MB, free: 40 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.9201/0.9201, allocations: 173.3 MB / 201.1 MB, free: 9.332 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.393e-06/1.393e-06, allocations: 0 / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.871e-05, allocations: 2.312 kB / 268 MB, free: 6.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02551/0.02553, allocations: 12.8 MB / 280.8 MB, free: 9.539 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01366/0.03919, allocations: 4.185 MB / 285 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.0404, allocations: 91.5 kB / 285.1 MB, free: 5.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.04218, allocations: 0.9782 MB / 286.1 MB, free: 4.266 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.04461, allocations: 1.37 MB / 287.4 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.04574, allocations: 0.8366 MB / 288.3 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1308/0.1765, allocations: 4.192 MB / 292.5 MB, free: 16.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003019/0.1795, allocations: 1.716 MB / 294.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003937/0.1835, allocations: 2.848 MB / 297 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003344/0.1868, allocations: 1.986 MB / 299 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001365/0.1882, allocations: 0.5092 MB / 299.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.1895, allocations: 0.6957 MB / 300.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008641/0.1904, allocations: 1.194 MB / 301.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002023/0.1924, allocations: 1.459 MB / 302.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003225/0.1957, allocations: 3.458 MB / 306.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.1957, allocations: 2.469 kB / 306.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1957, allocations: 0 / 306.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001242/0.1958, allocations: 3.938 kB / 306.3 MB, free: 12.68 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.006456/0.2022, allocations: 4.638 MB / 311 MB, free: 10.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.2023, allocations: 7.828 kB / 311 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003522/0.2058, allocations: 1.237 MB / 312.2 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00302/0.2088, allocations: 2.306 MB / 314.5 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.209, allocations: 237.5 kB / 314.8 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003855/0.2093, allocations: 312.3 kB / 315.1 MB, free: 7.883 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003969/0.2133, allocations: 2.524 MB / 317.6 MB, free: 5.273 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.185e-05/0.2134, allocations: 4 kB / 317.6 MB, free: 5.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002409/0.2136, allocations: 134.6 kB / 317.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/0.2137, allocations: 150.2 kB / 317.9 MB, free: 4.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002835/0.2166, allocations: 1.173 MB / 319.1 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01331/0.2299, allocations: 10.6 MB / 329.6 MB, free: 9.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003351/0.2332, allocations: 1.948 MB / 331.6 MB, free: 7.387 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.2346, allocations: 0.7405 MB / 332.3 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003892/0.2385, allocations: 2.294 MB / 334.6 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.2385, allocations: 50.39 kB / 334.7 MB, free: 4.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=124): time 3.366e-06/0.2385, allocations: 0 / 334.7 MB, free: 4.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=144): time 0.00815/0.2466, allocations: 4.03 MB / 338.7 MB, free: 288 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.2467, allocations: 67.44 kB / 338.8 MB, free: 212 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/0.2485, allocations: 1.438 MB / 340.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.503e-05/0.2486, allocations: 45.7 kB / 340.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.2496, allocations: 1.568 MB / 341.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/0.2499, allocations: 0.5309 MB / 342.4 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003489/0.2503, allocations: 325.1 kB / 342.7 MB, free: 12.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2504, allocations: 480.8 kB / 343.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.2509, allocations: 259.8 kB / 343.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007753/0.2517, allocations: 0.9412 MB / 344.3 MB, free: 10.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.2533, allocations: 1.321 MB / 345.7 MB, free: 8.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.2533, allocations: 4 kB / 345.7 MB, free: 8.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.002155/0.2555, allocations: 1.61 MB / 347.3 MB, free: 7.297 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.2555, allocations: 8.625 kB / 347.3 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.2555, allocations: 16 kB / 347.3 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009673/0.2565, allocations: 460.9 kB / 347.7 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007749/0.2573, allocations: 377.7 kB / 348.1 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004665/0.2619, allocations: 5.783 MB / 353.9 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005562/0.2625, allocations: 71.92 kB / 354 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.241e-05/0.2626, allocations: 71.98 kB / 354 MB, free: 340 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.0005419/0.2631, allocations: 258.1 kB / 354.3 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.2633, allocations: 230.9 kB / 354.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.2654, allocations: 1.388 MB / 355.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-06/0.2654, allocations: 12 kB / 355.9 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.2654, allocations: 8 kB / 355.9 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.2654, allocations: 3.984 kB / 355.9 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004471/0.2699, allocations: 3.719 MB / 359.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.2699, allocations: 4 kB / 359.7 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005003/0.2704, allocations: 213.9 kB / 359.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008306/0.2713, allocations: 424 kB / 360.3 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.07e-05/0.2713, allocations: 35.98 kB / 360.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006475/0.2778, allocations: 11.58 MB / 371.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2778, allocations: 7.984 kB / 371.9 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.2801, allocations: 1.847 MB / 373.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004342/0.2805, allocations: 350.7 kB / 374.1 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.2807, allocations: 28 kB / 374.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.2811, allocations: 67.94 kB / 374.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.2813, allocations: 124.6 kB / 374.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.462e-05/0.2814, allocations: 39.98 kB / 374.3 MB, free: 11.42 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008434/0.2822, allocations: 0.82 MB / 375.2 MB, free: 10.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.2822, allocations: 0 / 375.2 MB, free: 10.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001303/0.2835, allocations: 0.582 MB / 375.7 MB, free: 10.02 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.0002364/0.2837, allocations: 162.1 kB / 375.9 MB, free: 9.863 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.2856, allocations: 1.614 MB / 377.5 MB, free: 8.266 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2856, allocations: 0 / 377.5 MB, free: 8.266 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001426/0.287, allocations: 1.598 MB / 379.1 MB, free: 6.602 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.2881, allocations: 431 kB / 379.5 MB, free: 6.188 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006215/0.2943, allocations: 5.164 MB / 384.7 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008296/0.2951, allocations: 0.8197 MB / 385.5 MB, free: 124 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006953/0.2958, allocations: 331.2 kB / 385.8 MB, free: 15.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.2961, allocations: 128.5 kB / 386 MB, free: 15.67 MB / 346.7 MB Notification: Performance of SimCode: time 1.413e-06/0.2961, allocations: 0 / 386 MB, free: 15.67 MB / 346.7 MB Notification: Performance of Templates: time 0.03522/0.3313, allocations: 28.7 MB / 414.7 MB, free: 3.398 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.679972684942186]