Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.001604/0.001604, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001656/0.001656, allocations: 167 kB / 25.02 MB, free: 8.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 158.6 MB / 186.8 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 250.4 MB, free: 3.922 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.881e-05, allocations: 6.312 kB / 250.4 MB, free: 3.914 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01263/0.01266, allocations: 8.508 MB / 258.9 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006801/0.01946, allocations: 2.984 MB / 261.9 MB, free: 8.371 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.02077, allocations: 59.56 kB / 261.9 MB, free: 8.312 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.02261, allocations: 0.6751 MB / 262.6 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002685/0.0253, allocations: 0.8265 MB / 263.4 MB, free: 6.801 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009941/0.02629, allocations: 407.3 kB / 263.8 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003879/0.03017, allocations: 2.649 MB / 266.5 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00223/0.0324, allocations: 1.232 MB / 267.7 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003299/0.0357, allocations: 1.758 MB / 269.5 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00257/0.03827, allocations: 1.294 MB / 270.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006326/0.0389, allocations: 316 kB / 271.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009731/0.03988, allocations: 423.7 kB / 271.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.04101, allocations: 0.9388 MB / 272.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.0426, allocations: 0.9666 MB / 273.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005476/0.04808, allocations: 4.218 MB / 277.6 MB, free: 8.523 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.04808, allocations: 0 / 277.6 MB, free: 8.523 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.968e-06/0.04808, allocations: 4 kB / 277.6 MB, free: 8.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.785e-05/0.04816, allocations: 0 / 277.6 MB, free: 8.52 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.006604/0.05477, allocations: 2.858 MB / 280.5 MB, free: 5.613 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.05481, allocations: 11.98 kB / 280.5 MB, free: 5.602 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.05597, allocations: 491 kB / 281 MB, free: 5.121 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00298/0.05895, allocations: 1.424 MB / 282.4 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/0.05912, allocations: 168.6 kB / 282.5 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003776/0.0595, allocations: 208.3 kB / 282.7 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005631/0.06513, allocations: 2.9 MB / 285.6 MB, free: 276 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.722e-05/0.06519, allocations: 4 kB / 285.6 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002274/0.06542, allocations: 87.98 kB / 285.7 MB, free: 184 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/0.06556, allocations: 104.2 kB / 285.8 MB, free: 76 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004788/0.07035, allocations: 2.347 MB / 288.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01481/0.08516, allocations: 7.503 MB / 295.7 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/0.08771, allocations: 1.187 MB / 296.9 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/0.08966, allocations: 0.9006 MB / 297.8 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002576/0.08992, allocations: 57.97 kB / 297.8 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.214e-05/0.08997, allocations: 51.56 kB / 297.9 MB, free: 3.766 MB / 282.7 MB Notification: Performance of pre-optimization done (n=101): time 3.487e-06/0.08998, allocations: 0 / 297.9 MB, free: 3.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=116): time 0.1227/0.2126, allocations: 5.69 MB / 303.6 MB, free: 56.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.2127, allocations: 64.44 kB / 303.6 MB, free: 56.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/0.2146, allocations: 1.303 MB / 304.9 MB, free: 55.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.2147, allocations: 45.95 kB / 305 MB, free: 55.64 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005715/0.2153, allocations: 1.061 MB / 306 MB, free: 54.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.2156, allocations: 419.7 kB / 306.5 MB, free: 54.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000402/0.216, allocations: 255.1 kB / 306.7 MB, free: 54.55 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.2161, allocations: 365.9 kB / 307.1 MB, free: 54.22 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.2172, allocations: 0.6792 MB / 307.7 MB, free: 53.99 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.2186, allocations: 1.069 MB / 308.8 MB, free: 53.29 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002529/0.2211, allocations: 1.863 MB / 310.7 MB, free: 52.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.2211, allocations: 4.156 kB / 310.7 MB, free: 52.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004007/0.2251, allocations: 2.388 MB / 313.1 MB, free: 51.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.2251, allocations: 9.812 kB / 313.1 MB, free: 51.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.2252, allocations: 11.09 kB / 313.1 MB, free: 51.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.2262, allocations: 457.7 kB / 313.5 MB, free: 51.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.2273, allocations: 330 kB / 313.9 MB, free: 51.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005017/0.2324, allocations: 6.638 MB / 320.5 MB, free: 46.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.2335, allocations: 95.53 kB / 320.6 MB, free: 46.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.2336, allocations: 59.66 kB / 320.6 MB, free: 46.11 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (157): * Single equations (assignments): 153 * 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 {(3,11,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.0009553/0.2346, allocations: 0.6911 MB / 321.3 MB, free: 45.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003242/0.2349, allocations: 195.4 kB / 321.5 MB, free: 45.63 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003049/0.238, allocations: 2.025 MB / 323.5 MB, free: 43.87 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.238, allocations: 12 kB / 323.6 MB, free: 43.86 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/0.238, allocations: 4 kB / 323.6 MB, free: 43.85 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.238, allocations: 7.969 kB / 323.6 MB, free: 43.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005747/0.2437, allocations: 3.945 MB / 327.5 MB, free: 39.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.2438, allocations: 4 kB / 327.5 MB, free: 39.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008361/0.2446, allocations: 207.7 kB / 327.7 MB, free: 39.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/0.2457, allocations: 479.4 kB / 328.2 MB, free: 39.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.641e-05/0.2458, allocations: 31.98 kB / 328.2 MB, free: 39.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005528/0.2513, allocations: 8.093 MB / 336.3 MB, free: 30.65 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.2513, allocations: 11.94 kB / 336.3 MB, free: 30.64 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003874/0.2552, allocations: 3.042 MB / 339.4 MB, free: 27.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006069/0.2558, allocations: 297.3 kB / 339.7 MB, free: 27.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.256, allocations: 31.94 kB / 339.7 MB, free: 27.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008014/0.2568, allocations: 87.89 kB / 339.8 MB, free: 27.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.257, allocations: 103.8 kB / 339.9 MB, free: 27.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.149e-05/0.257, allocations: 38.92 kB / 339.9 MB, free: 26.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000974/0.258, allocations: 0.8796 MB / 340.8 MB, free: 26.1 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.258, allocations: 0 / 340.8 MB, free: 26.1 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001501/0.2595, allocations: 453.8 kB / 341.2 MB, free: 25.66 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[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 (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,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.0003165/0.2598, allocations: 196.7 kB / 341.4 MB, free: 25.47 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002876/0.2627, allocations: 2.077 MB / 343.5 MB, free: 23.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.2627, allocations: 4 kB / 343.5 MB, free: 23.35 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001805/0.2645, allocations: 1.398 MB / 344.9 MB, free: 21.9 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.2661, allocations: 374.7 kB / 345.3 MB, free: 21.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005534/0.2716, allocations: 4.414 MB / 349.7 MB, free: 17.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009718/0.2726, allocations: 1.231 MB / 350.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008473/0.2735, allocations: 348.5 kB / 351.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.2738, allocations: 112.5 kB / 351.4 MB, free: 15.33 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2738, allocations: 0 / 351.4 MB, free: 15.33 MB / 282.7 MB Notification: Performance of Templates: time 0.03529/0.309, allocations: 23.25 MB / 374.6 MB, free: 8.094 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.507833058014512]