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.002539/0.002539, allocations: 91.61 kB / 20.95 MB, free: 3.465 MB / 18.57 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.003069/0.003069, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 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.538/1.538, allocations: 177.2 MB / 204.6 MB, free: 5.574 MB / 186.7 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.703e-06/1.703e-06, allocations: 0 / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.401e-05, allocations: 6.312 kB / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01898/0.019, allocations: 13.3 MB / 285.6 MB, free: 4.426 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.121/0.14, allocations: 4.447 MB / 290.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0025/0.1425, allocations: 97.53 kB / 290.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002416/0.1449, allocations: 0.9935 MB / 291.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003295/0.1482, allocations: 1.35 MB / 292.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.15, allocations: 0.8842 MB / 293.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004286/0.1543, allocations: 4.269 MB / 297.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/0.1566, allocations: 1.728 MB / 299.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003796/0.1604, allocations: 2.87 MB / 302.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002845/0.1632, allocations: 1.987 MB / 304.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008235/0.164, allocations: 0.5072 MB / 304.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.1654, allocations: 0.7233 MB / 305.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007617/0.1662, allocations: 1.189 MB / 306.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.1677, allocations: 1.462 MB / 308.1 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005643/0.1733, allocations: 6.903 MB / 315 MB, free: 4.602 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1733, allocations: 0 / 315 MB, free: 4.602 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1733, allocations: 4 kB / 315 MB, free: 4.598 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000143/0.1735, allocations: 0 / 315 MB, free: 4.598 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.01113/0.1846, allocations: 5.078 MB / 320.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.1846, allocations: 8.031 kB / 320.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005292/0.1899, allocations: 1.25 MB / 321.4 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005419/0.1953, allocations: 2.383 MB / 323.8 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/0.1956, allocations: 234.6 kB / 324 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006108/0.1962, allocations: 319.2 kB / 324.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008653/0.2048, allocations: 4.484 MB / 328.8 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-05/0.2049, allocations: 7.953 kB / 328.8 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000342/0.2053, allocations: 131.9 kB / 328.9 MB, free: 6.688 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.2054, allocations: 142.2 kB / 329.1 MB, free: 6.547 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00664/0.2121, allocations: 3.26 MB / 332.3 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03295/0.245, allocations: 21.37 MB / 353.7 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005463/0.2505, allocations: 2.422 MB / 356.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002412/0.2529, allocations: 1.187 MB / 357.3 MB, free: 9.477 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006779/0.2597, allocations: 3.123 MB / 360.4 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/0.2597, allocations: 50.39 kB / 360.5 MB, free: 6.305 MB / 314.7 MB Notification: Performance of pre-optimization done (n=124): time 3.106e-06/0.2597, allocations: 0 / 360.5 MB, free: 6.305 MB / 314.7 MB Notification: Performance of matching and sorting (n=144): time 0.01407/0.2738, allocations: 5.488 MB / 366 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.2739, allocations: 68.66 kB / 366 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003521/0.2774, allocations: 2.11 MB / 368.1 MB, free: 14.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001612/0.2775, allocations: 53.7 kB / 368.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001713/0.2793, allocations: 1.702 MB / 369.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006849/0.2799, allocations: 0.5729 MB / 370.5 MB, free: 12.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008408/0.2808, allocations: 409.1 kB / 370.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002429/0.281, allocations: 476.8 kB / 371.3 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.2823, allocations: 0.609 MB / 371.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001966/0.2842, allocations: 1.36 MB / 373.3 MB, free: 9.152 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003618/0.2879, allocations: 2.137 MB / 375.4 MB, free: 6.812 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.2879, allocations: 4 kB / 375.4 MB, free: 6.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004996/0.2929, allocations: 2.415 MB / 377.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.2929, allocations: 12 kB / 377.9 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/0.2929, allocations: 16 kB / 377.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/0.2949, allocations: 0.5726 MB / 378.5 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.2965, allocations: 375 kB / 378.8 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.3075, allocations: 7.355 MB / 386.2 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.309, allocations: 71.92 kB / 386.3 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/0.3092, allocations: 79.36 kB / 386.3 MB, free: 11.82 MB / 346.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.002031/0.3113, allocations: 0.9569 MB / 387.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005515/0.3118, allocations: 234.8 kB / 387.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00482/0.3166, allocations: 2.033 MB / 389.6 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/0.3167, allocations: 19.98 kB / 389.6 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/0.3167, allocations: 8 kB / 389.6 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.3167, allocations: 3.984 kB / 389.6 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/0.3279, allocations: 5.424 MB / 395 MB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.3279, allocations: 0 / 395 MB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.329, allocations: 215.7 kB / 395.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002031/0.331, allocations: 0.5513 MB / 395.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.3312, allocations: 35.98 kB / 395.8 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01486/0.346, allocations: 13.26 MB / 409.1 MB, free: 4.434 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/0.346, allocations: 7.938 kB / 409.1 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006179/0.3522, allocations: 3.009 MB / 412.1 MB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/0.3534, allocations: 354.7 kB / 412.4 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/0.3537, allocations: 28 kB / 412.4 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009253/0.3546, allocations: 63.95 kB / 412.5 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003349/0.3549, allocations: 125 kB / 412.6 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.355, allocations: 43.98 kB / 412.7 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002134/0.3572, allocations: 1.223 MB / 413.9 MB, free: 15.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3572, allocations: 4 kB / 413.9 MB, free: 15.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002347/0.3595, allocations: 0.5898 MB / 414.5 MB, free: 14.93 MB / 378.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.0003883/0.3599, allocations: 175.5 kB / 414.7 MB, free: 14.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004591/0.3645, allocations: 2.318 MB / 417 MB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.3645, allocations: 0 / 417 MB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003211/0.3677, allocations: 1.913 MB / 418.9 MB, free: 10.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.37, allocations: 449.8 kB / 419.3 MB, free: 9.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.3812, allocations: 5.64 MB / 425 MB, free: 4.266 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002337/0.3835, allocations: 1.71 MB / 426.7 MB, free: 2.523 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001334/0.3848, allocations: 335.5 kB / 427 MB, free: 2.191 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/0.3852, allocations: 124.5 kB / 427.1 MB, free: 2.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.673e-06/0.3852, allocations: 0 / 427.1 MB, free: 2.07 MB / 378.7 MB Notification: Performance of Templates: time 0.1615/0.5468, allocations: 29.12 MB / 456.3 MB, free: 103.6 MB / 378.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] 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: 6.085584571002983]