Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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.001432/0.001432, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001693/0.001693, allocations: 161.7 kB / 24.27 MB, free: 172 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.492/1.492, allocations: 177.1 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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 272.3 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.186e-05/4.427e-05, allocations: 2.312 kB / 272.3 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.02351/0.02355, allocations: 7.903 MB / 280.2 MB, free: 9.844 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.03524, allocations: 2.723 MB / 283 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002176/0.03742, allocations: 59.62 kB / 283 MB, free: 7.055 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003678/0.0411, allocations: 0.5976 MB / 283.6 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005535/0.04663, allocations: 0.7761 MB / 284.4 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.04869, allocations: 327.4 kB / 284.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006332/0.05502, allocations: 2.314 MB / 287 MB, free: 3.031 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003764/0.05879, allocations: 0.9813 MB / 288 MB, free: 2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005368/0.06415, allocations: 1.532 MB / 289.5 MB, free: 476 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1758/0.24, allocations: 1.109 MB / 290.6 MB, free: 16.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001108/0.2411, allocations: 268.5 kB / 290.9 MB, free: 16.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.2426, allocations: 364.5 kB / 291.3 MB, free: 16.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.2439, allocations: 0.7899 MB / 292.1 MB, free: 16.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.2459, allocations: 0.835 MB / 292.9 MB, free: 16.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004877/0.2507, allocations: 3.592 MB / 296.5 MB, free: 16.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2507, allocations: 0 / 296.5 MB, free: 16.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2507, allocations: 0 / 296.5 MB, free: 16.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001025/0.2508, allocations: 1.125 kB / 296.5 MB, free: 16.81 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.006601/0.2574, allocations: 2.456 MB / 298.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.2575, allocations: 11.88 kB / 298.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.2587, allocations: 410.6 kB / 299.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003013/0.2617, allocations: 1.291 MB / 300.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.2619, allocations: 135.5 kB / 300.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/0.2622, allocations: 190.7 kB / 301 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004557/0.2668, allocations: 2.47 MB / 303.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.334e-05/0.2668, allocations: 11.42 kB / 303.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/0.267, allocations: 78.95 kB / 303.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/0.2671, allocations: 88.39 kB / 303.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003343/0.2705, allocations: 1.966 MB / 305.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01026/0.2807, allocations: 6.201 MB / 311.8 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.2824, allocations: 0.9943 MB / 312.8 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.2838, allocations: 0.8066 MB / 313.6 MB, free: 7.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.284, allocations: 48.97 kB / 313.6 MB, free: 7.242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.284, allocations: 43.56 kB / 313.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 3.306e-06/0.284, allocations: 0 / 313.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.0124/0.2964, allocations: 5.69 MB / 319.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.2964, allocations: 64.41 kB / 319.4 MB, free: 1.422 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.2978, allocations: 1.087 MB / 320.5 MB, free: 324 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.049e-05/0.2978, allocations: 45.7 kB / 320.5 MB, free: 272 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007775/0.2986, allocations: 0.8939 MB / 321.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003873/0.299, allocations: 372 kB / 321.8 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004198/0.2994, allocations: 231.7 kB / 322 MB, free: 14.8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.2996, allocations: 353.9 kB / 322.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.3008, allocations: 0.6155 MB / 323 MB, free: 13.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.3023, allocations: 0.9184 MB / 323.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002773/0.305, allocations: 1.64 MB / 325.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.305, allocations: 7.938 kB / 325.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004475/0.3095, allocations: 2.196 MB / 327.8 MB, free: 8.922 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.3095, allocations: 11.98 kB / 327.8 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.3096, allocations: 8 kB / 327.8 MB, free: 8.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.311, allocations: 0.4979 MB / 328.3 MB, free: 8.391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.3121, allocations: 270 kB / 328.5 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008229/0.3203, allocations: 6.612 MB / 335.1 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.3216, allocations: 83.86 kB / 335.2 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.3217, allocations: 55.19 kB / 335.3 MB, free: 1.137 MB / 282.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.001423/0.3232, allocations: 0.5934 MB / 335.9 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004369/0.3236, allocations: 166.1 kB / 336 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004048/0.3276, allocations: 1.941 MB / 338 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.3277, allocations: 8 kB / 338 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.3277, allocations: 8 kB / 338 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.3277, allocations: 7.969 kB / 338 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00812/0.3358, allocations: 3.667 MB / 341.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.3358, allocations: 4 kB / 341.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008002/0.3366, allocations: 182 kB / 341.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001663/0.3383, allocations: 0.5485 MB / 342.4 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.684e-05/0.3384, allocations: 43.64 kB / 342.4 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009887/0.3483, allocations: 8.075 MB / 350.5 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.3483, allocations: 7.656 kB / 350.5 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005753/0.354, allocations: 2.882 MB / 353.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000824/0.3548, allocations: 263 kB / 353.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.355, allocations: 31.98 kB / 353.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007959/0.3558, allocations: 71.92 kB / 353.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002655/0.3561, allocations: 99.39 kB / 353.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.881e-05/0.3562, allocations: 35.98 kB / 353.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001286/0.3575, allocations: 0.7256 MB / 354.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3575, allocations: 0 / 354.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00168/0.3592, allocations: 404 kB / 355 MB, free: 12.96 MB / 314.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.0004317/0.3596, allocations: 197.3 kB / 355.2 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003806/0.3634, allocations: 1.951 MB / 357.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.3634, allocations: 0 / 357.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002656/0.3661, allocations: 1.361 MB / 358.5 MB, free: 9.418 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.3679, allocations: 336.7 kB / 358.8 MB, free: 9.102 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007219/0.3751, allocations: 3.842 MB / 362.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/0.3766, allocations: 1.05 MB / 363.7 MB, free: 4.098 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009889/0.3776, allocations: 285.7 kB / 364 MB, free: 3.816 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.3779, allocations: 92.47 kB / 364.1 MB, free: 3.727 MB / 314.7 MB Notification: Performance of SimCode: time 2.094e-06/0.3779, allocations: 0 / 364.1 MB, free: 3.727 MB / 314.7 MB Notification: Performance of Templates: time 0.04156/0.4194, allocations: 21.23 MB / 385.3 MB, free: 14.87 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.554790389956906]