Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001429/0.001429, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00172/0.00172, allocations: 165.5 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9157/0.9157, allocations: 177 MB / 205.9 MB, free: 4.426 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 3.938 kB / 274.2 MB, free: 4.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.073e-05, allocations: 5.156 kB / 274.2 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01954/0.01956, allocations: 20.31 MB / 294.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01573/0.03528, allocations: 6.653 MB / 301.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005047/0.04033, allocations: 175.2 kB / 301.3 MB, free: 9 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01257/0.0529, allocations: 7.05 MB / 308.3 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009419/0.06232, allocations: 2.859 MB / 311.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004419/0.06674, allocations: 1.553 MB / 312.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01366/0.08039, allocations: 9.474 MB / 322.2 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02109/0.1015, allocations: 10.94 MB / 333.2 MB, free: 8.906 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01061/0.1121, allocations: 7.032 MB / 340.2 MB, free: 1.863 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1375/0.2496, allocations: 5.08 MB / 345.3 MB, free: 31.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00317/0.2528, allocations: 1.351 MB / 346.6 MB, free: 31.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003471/0.2563, allocations: 1.689 MB / 348.3 MB, free: 31.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001839/0.2581, allocations: 2.708 MB / 351 MB, free: 31.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004719/0.2628, allocations: 3.364 MB / 354.4 MB, free: 31.3 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007996/0.2708, allocations: 8.502 MB / 362.9 MB, free: 29.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2708, allocations: 2.25 kB / 362.9 MB, free: 29.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2708, allocations: 0 / 362.9 MB, free: 29.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003425/0.2712, allocations: 0 / 362.9 MB, free: 29.12 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.01665/0.2878, allocations: 10.39 MB / 373.3 MB, free: 24.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.2879, allocations: 11.84 kB / 373.3 MB, free: 24.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01557/0.3034, allocations: 5.546 MB / 378.8 MB, free: 22.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006232/0.3097, allocations: 5.178 MB / 384 MB, free: 17.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002469/0.3099, allocations: 0.5588 MB / 384.6 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/0.3111, allocations: 0.7442 MB / 385.3 MB, free: 16.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00842/0.3195, allocations: 6.165 MB / 391.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001311/0.3197, allocations: 19.25 kB / 391.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005338/0.3202, allocations: 307.6 kB / 391.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002453/0.3205, allocations: 0.4889 MB / 392.3 MB, free: 9.727 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004973/0.3254, allocations: 3.133 MB / 395.4 MB, free: 6.555 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03619/0.3616, allocations: 32.26 MB / 427.7 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006224/0.3678, allocations: 6.249 MB / 433.9 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.3692, allocations: 1.182 MB / 435.1 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.3694, allocations: 127.1 kB / 435.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.3695, allocations: 76.61 kB / 435.3 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of pre-optimization done (n=410): time 5.28e-06/0.3695, allocations: 0 / 435.3 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of matching and sorting (n=415): time 0.01571/0.3852, allocations: 8.45 MB / 443.8 MB, free: 8.375 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.3852, allocations: 94.67 kB / 443.9 MB, free: 8.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/0.3877, allocations: 2.447 MB / 446.3 MB, free: 6.156 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001885/0.3878, allocations: 89.7 kB / 446.4 MB, free: 6.062 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001764/0.3896, allocations: 3.344 MB / 449.7 MB, free: 2.805 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008641/0.3905, allocations: 1.514 MB / 451.3 MB, free: 1.375 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/0.3915, allocations: 1.054 MB / 452.3 MB, free: 416 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3916, allocations: 480.8 kB / 452.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008675/0.3925, allocations: 0.6148 MB / 453.4 MB, free: 15.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.3946, allocations: 3.034 MB / 456.4 MB, free: 11.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003285/0.3979, allocations: 4.132 MB / 460.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-05/0.3979, allocations: 16 kB / 460.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.006461/0.4044, allocations: 4.185 MB / 464.8 MB, free: 2.773 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/0.4044, allocations: 32 kB / 464.8 MB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.977e-05/0.4045, allocations: 52 kB / 464.8 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002218/0.4067, allocations: 1.081 MB / 465.9 MB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/0.4089, allocations: 1.044 MB / 467 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007187/0.416, allocations: 7.374 MB / 474.3 MB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002182/0.4182, allocations: 171.9 kB / 474.5 MB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003125/0.4185, allocations: 196 kB / 474.7 MB, free: 8.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * 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%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001856/0.4204, allocations: 487.7 kB / 475.2 MB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007488/0.4211, allocations: 473.8 kB / 475.6 MB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004878/0.426, allocations: 3.381 MB / 479 MB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/0.426, allocations: 44 kB / 479.1 MB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.426, allocations: 12 kB / 479.1 MB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.578e-05/0.4261, allocations: 23.91 kB / 479.1 MB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/0.4411, allocations: 9.79 MB / 488.9 MB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.4411, allocations: 4 kB / 488.9 MB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/0.4427, allocations: 0.665 MB / 489.6 MB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00218/0.4448, allocations: 0.9808 MB / 490.5 MB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003105/0.4452, allocations: 95.97 kB / 490.6 MB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006762/0.4519, allocations: 6.937 MB / 497.6 MB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4519, allocations: 8 kB / 497.6 MB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1495/0.6014, allocations: 4.289 MB / 0.4901 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/0.603, allocations: 0.7229 MB / 0.4908 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005372/0.6035, allocations: 84.31 kB / 0.4909 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.6046, allocations: 107.9 kB / 0.491 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005262/0.6052, allocations: 320.2 kB / 0.4913 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/0.6053, allocations: 100.2 kB / 0.4914 GB, free: 105 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001367/0.6067, allocations: 1.115 MB / 0.4925 GB, free: 104.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6067, allocations: 2.594 kB / 0.4925 GB, free: 104.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003539/0.6103, allocations: 1.386 MB / 0.4938 GB, free: 104.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,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 (398): * Single equations (assignments): 396 * 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%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004862/0.6107, allocations: 268.9 kB / 0.4941 GB, free: 104.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004208/0.6149, allocations: 3.551 MB / 0.4976 GB, free: 104.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.615, allocations: 3.281 kB / 0.4976 GB, free: 104.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00227/0.6172, allocations: 2.127 MB / 0.4996 GB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/0.6197, allocations: 0.7549 MB / 0.5004 GB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/0.6352, allocations: 11.53 MB / 0.5116 GB, free: 99.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/0.6374, allocations: 2.102 MB / 0.5137 GB, free: 99.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002023/0.6394, allocations: 0.5885 MB / 0.5143 GB, free: 99.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/0.6409, allocations: 0.8717 MB / 0.5151 GB, free: 99 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/0.6409, allocations: 1.094 kB / 0.5151 GB, free: 99 MB / 410.7 MB Notification: Performance of Templates: time 0.0703/0.7112, allocations: 60.98 MB / 0.5747 GB, free: 49.98 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.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: 4.733082772698253]