Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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.0008338/0.0008338, allocations: 84 kB / 21.43 MB, free: 3.129 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.003212/0.003212, allocations: 144.8 kB / 24.68 MB, free: 9.426 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.8354/0.8354, allocations: 173.4 MB / 201.2 MB, free: 9.426 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.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 319.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.602e-05, allocations: 2.281 kB / 319.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.006133/0.006149, allocations: 7.839 MB / 327.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.009062, allocations: 2.679 MB / 330.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000374/0.009436, allocations: 55.62 kB / 330.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009114/0.01035, allocations: 0.5938 MB / 330.9 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009504/0.0113, allocations: 0.78 MB / 331.7 MB, free: 9.812 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.01163, allocations: 323.4 kB / 332 MB, free: 9.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.01288, allocations: 2.309 MB / 334.3 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008138/0.0137, allocations: 0.9813 MB / 335.3 MB, free: 6.152 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009953/0.01469, allocations: 1.512 MB / 336.8 MB, free: 4.637 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.01593, allocations: 1.114 MB / 337.9 MB, free: 3.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.01613, allocations: 268 kB / 338.1 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003428/0.01647, allocations: 363.7 kB / 338.5 MB, free: 2.902 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004262/0.0169, allocations: 0.7947 MB / 339.3 MB, free: 2.105 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005058/0.0174, allocations: 0.8263 MB / 340.1 MB, free: 1.277 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002032/0.01944, allocations: 3.576 MB / 343.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.01944, allocations: 0 / 343.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01944, allocations: 0 / 343.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.01946, allocations: 0 / 343.7 MB, free: 13.69 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.002769/0.02223, allocations: 2.454 MB / 346.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.02226, allocations: 8.922 kB / 346.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/0.02262, allocations: 263.5 kB / 346.4 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.02391, allocations: 1.233 MB / 347.7 MB, free: 9.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.488e-05/0.02398, allocations: 135.9 kB / 347.8 MB, free: 9.527 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.02416, allocations: 180.3 kB / 348 MB, free: 9.352 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.02646, allocations: 2.479 MB / 350.4 MB, free: 6.812 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.763e-05/0.0265, allocations: 11.88 kB / 350.5 MB, free: 6.801 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.02661, allocations: 75.98 kB / 350.5 MB, free: 6.727 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.165e-05/0.02668, allocations: 91.5 kB / 350.6 MB, free: 6.637 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.02895, allocations: 1.958 MB / 352.6 MB, free: 4.676 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005474/0.03442, allocations: 6.11 MB / 358.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.03571, allocations: 0.9971 MB / 359.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00088/0.03659, allocations: 0.8031 MB / 360.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.03671, allocations: 44.91 kB / 360.5 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.03673, allocations: 43.56 kB / 360.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=87): time 2.264e-06/0.03673, allocations: 0 / 360.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.007562/0.0443, allocations: 5.637 MB / 366.2 MB, free: 6.797 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.04433, allocations: 64.41 kB / 366.3 MB, free: 6.723 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008652/0.04519, allocations: 1.083 MB / 367.4 MB, free: 5.621 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/0.04524, allocations: 41.7 kB / 367.4 MB, free: 5.574 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000373/0.04562, allocations: 0.8902 MB / 368.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.0458, allocations: 384.7 kB / 368.7 MB, free: 4.293 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.04602, allocations: 218.9 kB / 368.9 MB, free: 4.074 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.143e-05/0.04611, allocations: 353.9 kB / 369.2 MB, free: 3.723 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006189/0.04673, allocations: 0.6193 MB / 369.8 MB, free: 3.102 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007433/0.04747, allocations: 0.9303 MB / 370.8 MB, free: 2.047 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.04889, allocations: 1.639 MB / 372.4 MB, free: 288 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.0489, allocations: 4 kB / 372.4 MB, free: 284 kB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002354/0.05125, allocations: 2.133 MB / 374.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.05127, allocations: 8 kB / 374.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.05128, allocations: 8 kB / 374.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000613/0.05189, allocations: 480.1 kB / 375 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.05239, allocations: 267.6 kB / 375.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/0.05652, allocations: 6.592 MB / 381.9 MB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.05693, allocations: 83.86 kB / 382 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.05699, allocations: 52.06 kB / 382 MB, free: 6.332 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005442/0.05753, allocations: 0.5988 MB / 382.6 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.05765, allocations: 127.2 kB / 382.7 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/0.05962, allocations: 1.932 MB / 384.7 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.05963, allocations: 12 kB / 384.7 MB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.05963, allocations: 4 kB / 384.7 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.05964, allocations: 7.969 kB / 384.7 MB, free: 3.617 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003966/0.06361, allocations: 3.661 MB / 388.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.06361, allocations: 4 kB / 388.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.064, allocations: 180.2 kB / 388.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007029/0.0647, allocations: 0.5231 MB / 389.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-05/0.06475, allocations: 31.98 kB / 389.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004769/0.06952, allocations: 8.067 MB / 397.2 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.06952, allocations: 4 kB / 397.2 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.0723, allocations: 2.847 MB / 400 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004626/0.07276, allocations: 251.1 kB / 400.3 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.328e-05/0.07285, allocations: 31.98 kB / 400.3 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.07322, allocations: 71.92 kB / 400.4 MB, free: 3.363 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.07335, allocations: 100.6 kB / 400.5 MB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.0734, allocations: 32 kB / 400.5 MB, free: 3.234 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006471/0.07404, allocations: 0.7293 MB / 401.2 MB, free: 2.496 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07404, allocations: 0 / 401.2 MB, free: 2.496 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008706/0.07491, allocations: 411.9 kB / 401.6 MB, free: 2.094 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002685/0.07518, allocations: 186.9 kB / 401.8 MB, free: 1.902 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002186/0.07737, allocations: 1.941 MB / 403.7 MB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.07737, allocations: 0 / 403.7 MB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.07854, allocations: 1.368 MB / 405.1 MB, free: 14.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008175/0.07935, allocations: 319.2 kB / 405.4 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.08305, allocations: 3.816 MB / 409.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007338/0.08378, allocations: 1.038 MB / 410.3 MB, free: 9.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.08398, allocations: 96.48 kB / 410.4 MB, free: 9.109 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.08398, allocations: 0 / 410.4 MB, free: 9.109 MB / 378.7 MB Notification: Performance of Templates: time 0.1684/0.2523, allocations: 67.96 MB / 478.3 MB, free: 103.4 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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: 7.0781683241948485]