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.001478/0.001478, allocations: 92.62 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.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.001456/0.001456, allocations: 149.4 kB / 24.26 MB, free: 184 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.479/1.479, allocations: 173.4 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.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.773e-06/1.773e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.039e-05, allocations: 2.312 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01183/0.01187, allocations: 7.857 MB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006564/0.01843, allocations: 2.668 MB / 277.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.01958, allocations: 59.62 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.02125, allocations: 0.5937 MB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.02355, allocations: 0.7684 MB / 279.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007869/0.02434, allocations: 327.4 kB / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003099/0.02744, allocations: 2.314 MB / 281.9 MB, free: 8.059 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.02907, allocations: 0.989 MB / 282.9 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002516/0.03158, allocations: 1.509 MB / 284.4 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002272/0.03386, allocations: 1.114 MB / 285.5 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000418/0.03427, allocations: 268 kB / 285.8 MB, free: 4.133 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007135/0.03499, allocations: 355.8 kB / 286.1 MB, free: 3.785 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009129/0.0359, allocations: 0.7946 MB / 286.9 MB, free: 2.988 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.03708, allocations: 0.8341 MB / 287.8 MB, free: 2.152 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1306/0.1677, allocations: 3.573 MB / 291.3 MB, free: 20.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1677, allocations: 0 / 291.3 MB, free: 20.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1677, allocations: 3.844 kB / 291.4 MB, free: 20.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001342/0.1678, allocations: 0 / 291.4 MB, free: 20.12 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.007743/0.1756, allocations: 2.443 MB / 293.8 MB, free: 19.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1756, allocations: 11.48 kB / 293.8 MB, free: 19.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.1771, allocations: 414.1 kB / 294.2 MB, free: 19.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.1797, allocations: 1.282 MB / 295.5 MB, free: 18.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.1798, allocations: 134.9 kB / 295.6 MB, free: 18.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/0.1802, allocations: 185.3 kB / 295.8 MB, free: 18.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004295/0.1845, allocations: 2.478 MB / 298.3 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.441e-05/0.1845, allocations: 10.52 kB / 298.3 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/0.1847, allocations: 79.47 kB / 298.4 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.1848, allocations: 96.33 kB / 298.5 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00357/0.1884, allocations: 1.954 MB / 300.4 MB, free: 17.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009426/0.1978, allocations: 6.211 MB / 306.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.1993, allocations: 0.9886 MB / 307.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.2007, allocations: 0.8066 MB / 308.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.2009, allocations: 48.28 kB / 308.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.2009, allocations: 47.48 kB / 308.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 3.536e-06/0.2009, allocations: 3.969 kB / 308.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.01212/0.213, allocations: 5.672 MB / 314.2 MB, free: 9.355 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.2131, allocations: 72.39 kB / 314.3 MB, free: 9.273 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.2143, allocations: 1.077 MB / 315.3 MB, free: 8.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.142e-05/0.2144, allocations: 41.7 kB / 315.4 MB, free: 8.133 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.2148, allocations: 0.8924 MB / 316.3 MB, free: 7.234 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.215, allocations: 379.5 kB / 316.6 MB, free: 6.867 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003014/0.2153, allocations: 222.9 kB / 316.9 MB, free: 6.645 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.2154, allocations: 353.9 kB / 317.2 MB, free: 6.293 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008257/0.2162, allocations: 0.6155 MB / 317.8 MB, free: 5.676 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009343/0.2171, allocations: 0.9143 MB / 318.7 MB, free: 4.641 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.219, allocations: 1.645 MB / 320.4 MB, free: 2.906 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.219, allocations: 4 kB / 320.4 MB, free: 2.902 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003119/0.2221, allocations: 2.195 MB / 322.6 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.2221, allocations: 12 kB / 322.6 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.2222, allocations: 8 kB / 322.6 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.2233, allocations: 0.5015 MB / 323.1 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.2243, allocations: 272.7 kB / 323.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008609/0.2329, allocations: 6.617 MB / 330 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.2342, allocations: 83.94 kB / 330.1 MB, free: 9.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.2343, allocations: 55.97 kB / 330.1 MB, free: 8.961 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.001428/0.2358, allocations: 0.5942 MB / 330.7 MB, free: 8.371 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004549/0.2362, allocations: 165.4 kB / 330.9 MB, free: 8.211 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004446/0.2407, allocations: 1.938 MB / 332.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.2407, allocations: 12 kB / 332.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.2407, allocations: 4 kB / 332.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.2407, allocations: 3.984 kB / 332.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007902/0.2486, allocations: 3.665 MB / 336.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.2486, allocations: 8.094 kB / 336.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008413/0.2494, allocations: 182 kB / 336.7 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/0.2512, allocations: 0.5504 MB / 337.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.2513, allocations: 35.92 kB / 337.3 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/0.2615, allocations: 8.08 MB / 345.4 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/0.2616, allocations: 7.984 kB / 345.4 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005837/0.2674, allocations: 2.884 MB / 348.2 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007723/0.2682, allocations: 255 kB / 348.5 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.2684, allocations: 31.98 kB / 348.5 MB, free: 6.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008041/0.2692, allocations: 71.92 kB / 348.6 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000256/0.2694, allocations: 95.95 kB / 348.7 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.202e-05/0.2695, allocations: 32 kB / 348.7 MB, free: 5.926 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001248/0.2707, allocations: 0.7293 MB / 349.4 MB, free: 5.188 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2707, allocations: 0 / 349.4 MB, free: 5.188 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001549/0.2723, allocations: 408 kB / 349.8 MB, free: 4.789 MB / 298.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.00041/0.2727, allocations: 193.5 kB / 350 MB, free: 4.605 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003797/0.2765, allocations: 1.955 MB / 352 MB, free: 2.645 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2765, allocations: 0 / 352 MB, free: 2.645 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002548/0.279, allocations: 1.362 MB / 353.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.2807, allocations: 338.2 kB / 353.7 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007245/0.288, allocations: 3.828 MB / 357.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001431/0.2894, allocations: 1.05 MB / 358.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009223/0.2903, allocations: 282.7 kB / 358.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.2906, allocations: 92.48 kB / 358.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of SimCode: time 1.273e-06/0.2906, allocations: 0 / 358.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of Templates: time 0.04127/0.3319, allocations: 21.12 MB / 380 MB, free: 6.809 MB / 330.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: 5.3898895010352135]