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_Inverter.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.002517/0.002517, allocations: 99.86 kB / 20.96 MB, free: 3.457 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.002797/0.002797, allocations: 145.1 kB / 24.26 MB, free: 164 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 1.519/1.519, allocations: 173.3 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|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|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|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|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.701e-05, allocations: 2.312 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.0185/0.01853, allocations: 12.64 MB / 280 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009191/0.02772, allocations: 4.166 MB / 284.1 MB, free: 5.828 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.02926, allocations: 95.44 kB / 284.2 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002542/0.0318, allocations: 0.9743 MB / 285.2 MB, free: 4.754 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004077/0.03588, allocations: 1.347 MB / 286.6 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.03814, allocations: 0.8326 MB / 287.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1183/0.1565, allocations: 4.055 MB / 291.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002339/0.1588, allocations: 1.717 MB / 293.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.1623, allocations: 2.779 MB / 295.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/0.1651, allocations: 1.924 MB / 297.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008327/0.166, allocations: 0.4969 MB / 298.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/0.1674, allocations: 0.6826 MB / 299.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000826/0.1682, allocations: 1.158 MB / 300.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001623/0.1698, allocations: 1.416 MB / 301.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004806/0.1746, allocations: 6.71 MB / 308.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1746, allocations: 2 kB / 308.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1746, allocations: 0 / 308.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.379e-05/0.1747, allocations: 0 / 308.3 MB, free: 11.27 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.009155/0.1839, allocations: 4.92 MB / 313.3 MB, free: 8.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1839, allocations: 10.89 kB / 313.3 MB, free: 8.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004152/0.1881, allocations: 1.238 MB / 314.5 MB, free: 7.422 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003683/0.1917, allocations: 2.282 MB / 316.8 MB, free: 5.641 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.1919, allocations: 234.3 kB / 317 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003936/0.1923, allocations: 317.5 kB / 317.3 MB, free: 5.105 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005761/0.198, allocations: 4.43 MB / 321.8 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.53e-05/0.1981, allocations: 11.89 kB / 321.8 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002686/0.1984, allocations: 127.1 kB / 321.9 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.1985, allocations: 150.3 kB / 322 MB, free: 316 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006478/0.2049, allocations: 3.191 MB / 325.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03307/0.238, allocations: 20.92 MB / 346.1 MB, free: 7.277 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005772/0.2438, allocations: 2.44 MB / 348.6 MB, free: 4.965 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002251/0.246, allocations: 1.129 MB / 349.7 MB, free: 3.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007429/0.2535, allocations: 3.251 MB / 353 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.2535, allocations: 50.33 kB / 353 MB, free: 0.543 MB / 298.7 MB Notification: Performance of pre-optimization done (n=120): time 3.236e-06/0.2535, allocations: 0 / 353 MB, free: 0.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=123): time 0.01092/0.2644, allocations: 4.236 MB / 357.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.2645, allocations: 68.39 kB / 357.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003138/0.2676, allocations: 1.914 MB / 359.2 MB, free: 10.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.2677, allocations: 45.7 kB / 359.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001622/0.2694, allocations: 1.644 MB / 360.9 MB, free: 8.566 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00058/0.2699, allocations: 0.4918 MB / 361.4 MB, free: 8.082 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006401/0.2706, allocations: 377.1 kB / 361.8 MB, free: 7.707 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002366/0.2708, allocations: 484.8 kB / 362.3 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.2718, allocations: 0.4997 MB / 362.8 MB, free: 6.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/0.2737, allocations: 1.267 MB / 364 MB, free: 5.188 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003154/0.2768, allocations: 1.887 MB / 365.9 MB, free: 3.082 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.2768, allocations: 4 kB / 365.9 MB, free: 3.078 MB / 314.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004073/0.2809, allocations: 2.037 MB / 368 MB, free: 1.117 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.2809, allocations: 12 kB / 368 MB, free: 1.105 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.688e-05/0.281, allocations: 19.98 kB / 368 MB, free: 1.086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009862/0.282, allocations: 316.3 kB / 368.3 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.2833, allocations: 345.1 kB / 368.6 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007513/0.2909, allocations: 7.268 MB / 375.9 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.2922, allocations: 67.97 kB / 376 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.2923, allocations: 80.09 kB / 376 MB, free: 8.711 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001847/0.2942, allocations: 0.9121 MB / 377 MB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004452/0.2946, allocations: 210.9 kB / 377.2 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/0.2986, allocations: 1.702 MB / 378.9 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.2986, allocations: 12 kB / 378.9 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.2986, allocations: 4 kB / 378.9 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.2986, allocations: 3.984 kB / 378.9 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009958/0.3086, allocations: 4.778 MB / 383.7 MB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.3086, allocations: 0 / 383.7 MB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008213/0.3094, allocations: 178.6 kB / 383.8 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001688/0.3111, allocations: 0.5063 MB / 384.3 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.772e-05/0.3112, allocations: 35.98 kB / 384.4 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01432/0.3255, allocations: 12.97 MB / 397.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3255, allocations: 7.562 kB / 397.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00531/0.3308, allocations: 2.516 MB / 399.9 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.3319, allocations: 298.8 kB / 400.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.3321, allocations: 32 kB / 400.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000845/0.3329, allocations: 59.95 kB / 400.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002911/0.3332, allocations: 104.6 kB / 400.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.868e-05/0.3333, allocations: 39.98 kB / 400.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001948/0.3353, allocations: 1.099 MB / 401.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3353, allocations: 0 / 401.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002159/0.3374, allocations: 0.539 MB / 402 MB, free: 14.11 MB / 362.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.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,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 (86): * Single equations (assignments): 81 * 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 {(1,5,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003694/0.3378, allocations: 169.1 kB / 402.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003709/0.3415, allocations: 2.013 MB / 404.2 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3415, allocations: 4 kB / 404.2 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002807/0.3443, allocations: 1.73 MB / 405.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/0.3465, allocations: 418.5 kB / 406.3 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.357, allocations: 5.184 MB / 411.5 MB, free: 4.461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/0.3593, allocations: 1.614 MB / 413.1 MB, free: 2.816 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001245/0.3605, allocations: 322 kB / 413.5 MB, free: 2.496 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/0.3609, allocations: 112.5 kB / 413.6 MB, free: 2.383 MB / 362.7 MB Notification: Performance of SimCode: time 1.713e-06/0.3609, allocations: 0 / 413.6 MB, free: 2.383 MB / 362.7 MB Notification: Performance of Templates: time 0.1681/0.529, allocations: 24.95 MB / 438.5 MB, free: 110 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.840113001991995]