Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001977/0.001977, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002459/0.002459, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 177 MB / 204.5 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 272.2 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.348e-05, allocations: 6.312 kB / 272.2 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01251/0.01253, allocations: 8.574 MB / 280.8 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00617/0.0187, allocations: 2.987 MB / 283.8 MB, free: 6.137 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.01982, allocations: 71.5 kB / 283.9 MB, free: 6.066 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.02169, allocations: 0.6751 MB / 284.5 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002601/0.02429, allocations: 0.8419 MB / 285.4 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.02529, allocations: 395.4 kB / 285.8 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003604/0.0289, allocations: 2.653 MB / 288.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/0.03084, allocations: 1.256 MB / 289.7 MB, free: 172 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1089/0.1397, allocations: 1.768 MB / 291.4 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.1416, allocations: 1.294 MB / 292.7 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004594/0.142, allocations: 320.6 kB / 293 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007803/0.1428, allocations: 425.2 kB / 293.5 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008268/0.1436, allocations: 0.9354 MB / 294.4 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.1448, allocations: 0.9741 MB / 295.4 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004209/0.149, allocations: 4.224 MB / 299.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.149, allocations: 0 / 299.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.149, allocations: 2.562 kB / 299.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.958e-05/0.1491, allocations: 3.469 kB / 299.6 MB, free: 15.78 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.005908/0.155, allocations: 2.878 MB / 302.5 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1551, allocations: 12.73 kB / 302.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.1561, allocations: 489.4 kB / 303 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002579/0.1587, allocations: 1.529 MB / 304.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.1588, allocations: 159 kB / 304.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003243/0.1591, allocations: 216.8 kB / 304.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005761/0.1649, allocations: 2.9 MB / 307.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.899e-05/0.165, allocations: 8.719 kB / 307.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002902/0.1653, allocations: 87.89 kB / 307.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001465/0.1654, allocations: 102.8 kB / 308 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005567/0.171, allocations: 2.352 MB / 310.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01714/0.1881, allocations: 7.511 MB / 317.8 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/0.1912, allocations: 1.185 MB / 319 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002169/0.1933, allocations: 0.9127 MB / 319.9 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/0.1936, allocations: 52.97 kB / 320 MB, free: 492 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1936, allocations: 43.56 kB / 320 MB, free: 436 kB / 266.7 MB Notification: Performance of pre-optimization done (n=101): time 4.429e-06/0.1936, allocations: 0 / 320 MB, free: 436 kB / 266.7 MB Notification: Performance of matching and sorting (n=116): time 0.01867/0.2123, allocations: 5.741 MB / 325.8 MB, free: 10.69 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.2124, allocations: 68.41 kB / 325.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002233/0.2146, allocations: 1.309 MB / 327.1 MB, free: 9.293 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.2147, allocations: 45.7 kB / 327.2 MB, free: 9.242 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009593/0.2157, allocations: 1.067 MB / 328.2 MB, free: 8.168 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004405/0.2161, allocations: 433.8 kB / 328.7 MB, free: 7.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004906/0.2166, allocations: 251.5 kB / 328.9 MB, free: 7.496 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.2168, allocations: 357.9 kB / 329.3 MB, free: 7.141 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.2182, allocations: 0.691 MB / 330 MB, free: 6.449 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.2199, allocations: 1.075 MB / 331 MB, free: 5.223 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003346/0.2232, allocations: 1.864 MB / 332.9 MB, free: 3.242 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.2232, allocations: 4 kB / 332.9 MB, free: 3.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004826/0.228, allocations: 2.391 MB / 335.3 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.2281, allocations: 12 kB / 335.3 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.2281, allocations: 8 kB / 335.3 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.2293, allocations: 458.4 kB / 335.8 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.2306, allocations: 325.6 kB / 336.1 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008756/0.2394, allocations: 6.637 MB / 342.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.2409, allocations: 107.8 kB / 342.8 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.241, allocations: 52 kB / 342.9 MB, free: 9.082 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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.00175/0.2428, allocations: 0.696 MB / 343.6 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005988/0.2434, allocations: 195 kB / 343.8 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004402/0.2478, allocations: 2.032 MB / 345.8 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.2478, allocations: 12 kB / 345.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.756e-05/0.2478, allocations: 4 kB / 345.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/0.2478, allocations: 11.91 kB / 345.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009312/0.2572, allocations: 3.945 MB / 349.8 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.2572, allocations: 4 kB / 349.8 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000998/0.2582, allocations: 206.3 kB / 350 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001489/0.2597, allocations: 495 kB / 350.4 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.2598, allocations: 31.98 kB / 350.5 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/0.2703, allocations: 8.077 MB / 358.6 MB, free: 9.004 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.2703, allocations: 7.562 kB / 358.6 MB, free: 9 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006277/0.2766, allocations: 3.048 MB / 361.6 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009325/0.2775, allocations: 290.9 kB / 361.9 MB, free: 5.621 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003075/0.2778, allocations: 31.98 kB / 361.9 MB, free: 5.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009574/0.2788, allocations: 83.91 kB / 362 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/0.279, allocations: 100.2 kB / 362.1 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.49e-05/0.2791, allocations: 39.98 kB / 362.1 MB, free: 5.375 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001618/0.2807, allocations: 0.8759 MB / 363 MB, free: 4.496 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2807, allocations: 0 / 363 MB, free: 4.496 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001884/0.2826, allocations: 463.9 kB / 363.5 MB, free: 4.043 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (102): * Single equations (assignments): 98 * 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.0004659/0.2831, allocations: 200.3 kB / 363.7 MB, free: 3.852 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004153/0.2873, allocations: 2.091 MB / 365.8 MB, free: 1.766 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.2873, allocations: 4.062 kB / 365.8 MB, free: 1.762 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002655/0.2899, allocations: 1.39 MB / 367.2 MB, free: 352 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.2919, allocations: 375.4 kB / 367.5 MB, free: 0 / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008782/0.3007, allocations: 4.396 MB / 371.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/0.3025, allocations: 1.235 MB / 373.2 MB, free: 10.26 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001168/0.3037, allocations: 352.5 kB / 373.5 MB, free: 9.906 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/0.3041, allocations: 104.5 kB / 373.6 MB, free: 9.805 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3041, allocations: 4 kB / 373.6 MB, free: 9.801 MB / 330.7 MB Notification: Performance of Templates: time 0.04477/0.3489, allocations: 23.35 MB / 397 MB, free: 2.848 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.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.541142868925817]