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.001919/0.001919, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002181/0.002181, allocations: 159.4 kB / 25.03 MB, free: 8.93 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.407/1.407, allocations: 158.6 MB / 186.8 MB, free: 2.902 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.563e-06/1.563e-06, allocations: 0 / 250.4 MB, free: 7.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.96e-05, allocations: 2.312 kB / 250.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.0146/0.01462, allocations: 9.441 MB / 259.8 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007139/0.02176, allocations: 3.093 MB / 262.9 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.02339, allocations: 59.56 kB / 263 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002085/0.02548, allocations: 0.6674 MB / 263.6 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003182/0.02866, allocations: 0.8382 MB / 264.5 MB, free: 9.641 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.02995, allocations: 403.3 kB / 264.9 MB, free: 9.246 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003728/0.03367, allocations: 2.645 MB / 267.5 MB, free: 6.586 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/0.03573, allocations: 1.236 MB / 268.8 MB, free: 5.289 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002944/0.03867, allocations: 1.785 MB / 270.5 MB, free: 3.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002704/0.04137, allocations: 1.403 MB / 271.9 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006191/0.04199, allocations: 316 kB / 272.3 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.04301, allocations: 427.7 kB / 272.7 MB, free: 1.367 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001341/0.04435, allocations: 0.9427 MB / 273.6 MB, free: 432 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.04619, allocations: 0.9861 MB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006148/0.05233, allocations: 4.234 MB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.05234, allocations: 3.938 kB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.05234, allocations: 0 / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001235/0.05246, allocations: 0 / 278.8 MB, free: 11.18 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.00811/0.06057, allocations: 3.262 MB / 282.1 MB, free: 7.867 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.06063, allocations: 11.98 kB / 282.1 MB, free: 7.855 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.06176, allocations: 483.1 kB / 282.6 MB, free: 7.383 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/0.06483, allocations: 1.345 MB / 283.9 MB, free: 5.992 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.06499, allocations: 160.5 kB / 284.1 MB, free: 5.832 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000406/0.06539, allocations: 216.3 kB / 284.3 MB, free: 5.621 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005409/0.0708, allocations: 2.634 MB / 286.9 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.335e-05/0.07087, allocations: 7.922 kB / 286.9 MB, free: 2.859 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/0.07108, allocations: 84 kB / 287 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/0.07123, allocations: 108.2 kB / 287.1 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003698/0.07493, allocations: 1.691 MB / 288.8 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01759/0.09251, allocations: 9.749 MB / 298.6 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.09455, allocations: 0.8202 MB / 299.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.0961, allocations: 0.6145 MB / 300 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/0.09633, allocations: 52.95 kB / 300.1 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/0.09638, allocations: 54.33 kB / 300.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of pre-optimization done (n=101): time 3.326e-06/0.09639, allocations: 0 / 300.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=116): time 0.01026/0.1066, allocations: 3.571 MB / 303.7 MB, free: 1.523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.1067, allocations: 76.27 kB / 303.8 MB, free: 1.438 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/0.1093, allocations: 1.556 MB / 305.3 MB, free: 15.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.1094, allocations: 45.7 kB / 305.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.1106, allocations: 1.21 MB / 306.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000528/0.1111, allocations: 460.4 kB / 307 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005448/0.1116, allocations: 313.1 kB / 307.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0005483/0.1122, allocations: 0.5902 MB / 307.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008641/0.1131, allocations: 355.8 kB / 308.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.1145, allocations: 0.9435 MB / 309.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002499/0.117, allocations: 1.436 MB / 310.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.117, allocations: 4 kB / 310.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003707/0.1207, allocations: 1.609 MB / 312.2 MB, free: 8.434 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.1208, allocations: 12 kB / 312.3 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.1208, allocations: 12 kB / 312.3 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.1218, allocations: 278.7 kB / 312.5 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.1231, allocations: 327.5 kB / 312.9 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007876/0.131, allocations: 6.862 MB / 319.7 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.1322, allocations: 99.86 kB / 319.8 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.1323, allocations: 59.98 kB / 319.9 MB, free: 432 kB / 298.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.00111/0.1334, allocations: 0.5625 MB / 320.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004074/0.1338, allocations: 191 kB / 320.6 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003464/0.1373, allocations: 1.273 MB / 321.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.1373, allocations: 12 kB / 321.9 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.1373, allocations: 7.938 kB / 321.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.1373, allocations: 3.984 kB / 321.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008275/0.1456, allocations: 3.754 MB / 325.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.1456, allocations: 7.938 kB / 325.7 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009631/0.1466, allocations: 203.7 kB / 325.9 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.1478, allocations: 306.9 kB / 326.2 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-05/0.1479, allocations: 31.98 kB / 326.2 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009767/0.1577, allocations: 8.643 MB / 334.9 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.1577, allocations: 8 kB / 334.9 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004735/0.1624, allocations: 1.946 MB / 336.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009866/0.1634, allocations: 274.9 kB / 337.1 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/0.1636, allocations: 35.98 kB / 337.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000843/0.1645, allocations: 75.91 kB / 337.2 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002927/0.1648, allocations: 100.7 kB / 337.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-05/0.1649, allocations: 35.98 kB / 337.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001574/0.1664, allocations: 0.9147 MB / 338.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1664, allocations: 7.938 kB / 338.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001742/0.1682, allocations: 459.9 kB / 338.7 MB, free: 12.82 MB / 330.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.0004413/0.1686, allocations: 191 kB / 338.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003575/0.1722, allocations: 1.752 MB / 340.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.1722, allocations: 0 / 340.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002454/0.1746, allocations: 1.382 MB / 342 MB, free: 9.359 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.1766, allocations: 381.4 kB / 342.4 MB, free: 8.992 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007756/0.1844, allocations: 3.979 MB / 346.4 MB, free: 4.906 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/0.186, allocations: 1.156 MB / 347.5 MB, free: 3.699 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001043/0.187, allocations: 284.5 kB / 347.8 MB, free: 3.414 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/0.1874, allocations: 108.5 kB / 347.9 MB, free: 3.309 MB / 330.7 MB Notification: Performance of SimCode: time 1.372e-06/0.1874, allocations: 7.938 kB / 347.9 MB, free: 3.301 MB / 330.7 MB Notification: Performance of Templates: time 0.1418/0.3292, allocations: 23.26 MB / 371.2 MB, free: 84.36 MB / 330.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] 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.509979697992094]