Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.001638/0.001638, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 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.001949/0.001949, allocations: 185.9 kB / 23.7 MB, free: 4.188 MB / 14.72 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.468/1.468, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 47.92 kB / 370.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2403, allocations: 52.19 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01248/0.2528, allocations: 8.533 MB / 431.6 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006256/0.259, allocations: 2.921 MB / 434.5 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.2602, allocations: 71.5 kB / 434.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.2619, allocations: 0.6634 MB / 435.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.2639, allocations: 0.8038 MB / 436.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008389/0.2648, allocations: 399.4 kB / 436.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003186/0.268, allocations: 2.548 MB / 439 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002044/0.27, allocations: 1.257 MB / 440.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.2719, allocations: 1.215 MB / 441.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.2743, allocations: 1.44 MB / 442.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005222/0.2748, allocations: 320 kB / 443.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008639/0.2757, allocations: 411.8 kB / 443.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009621/0.2766, allocations: 0.9154 MB / 444.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.278, allocations: 1.144 MB / 445.7 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004726/0.2827, allocations: 4.184 MB / 449.9 MB, free: 3.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2827, allocations: 4 kB / 449.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2827, allocations: 0 / 449.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.719e-05/0.2828, allocations: 0 / 449.9 MB, free: 3.496 MB / 350.1 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.006062/0.2888, allocations: 2.897 MB / 452.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2889, allocations: 12.03 kB / 452.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007321/0.2896, allocations: 303.2 kB / 453.1 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.2925, allocations: 1.467 MB / 454.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.2926, allocations: 168.3 kB / 454.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003503/0.293, allocations: 208 kB / 454.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004921/0.2979, allocations: 2.9 MB / 457.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.748e-05/0.2979, allocations: 7.938 kB / 457.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002105/0.2982, allocations: 95.98 kB / 457.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/0.2983, allocations: 108.1 kB / 458 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004322/0.3026, allocations: 2.343 MB / 460.4 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01361/0.3162, allocations: 7.374 MB / 467.7 MB, free: 1.168 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/0.3187, allocations: 1.171 MB / 468.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/0.3205, allocations: 0.9006 MB / 469.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/0.3208, allocations: 44.97 kB / 469.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/0.3208, allocations: 51.5 kB / 469.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.527e-06/0.3208, allocations: 0 / 469.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01396/0.3348, allocations: 5.724 MB / 475.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.3348, allocations: 64.41 kB / 475.7 MB, free: 9.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.3369, allocations: 1.301 MB / 477 MB, free: 7.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.337, allocations: 45.7 kB / 477 MB, free: 7.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008509/0.3378, allocations: 1.066 MB / 478.1 MB, free: 6.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003874/0.3382, allocations: 428.3 kB / 478.5 MB, free: 6.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004305/0.3387, allocations: 259.5 kB / 478.8 MB, free: 6.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.3389, allocations: 357.9 kB / 479.1 MB, free: 5.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.3401, allocations: 0.691 MB / 479.8 MB, free: 4.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.3417, allocations: 1.066 MB / 480.9 MB, free: 3.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002958/0.3447, allocations: 1.868 MB / 482.8 MB, free: 1.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.3447, allocations: 4 kB / 482.8 MB, free: 1.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004506/0.3492, allocations: 2.331 MB / 485.1 MB, free: 15.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.3492, allocations: 15.94 kB / 485.1 MB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.3493, allocations: 12 kB / 485.1 MB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.3503, allocations: 411.4 kB / 485.5 MB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.3516, allocations: 331.4 kB / 485.8 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007647/0.3592, allocations: 6.617 MB / 492.5 MB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.3605, allocations: 103.8 kB / 492.6 MB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.3606, allocations: 56 kB / 492.6 MB, free: 7.527 MB / 398.1 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.001209/0.3618, allocations: 0.6934 MB / 493.3 MB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002844/0.3621, allocations: 155 kB / 493.5 MB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/0.366, allocations: 2.03 MB / 495.5 MB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.366, allocations: 12 kB / 495.5 MB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.366, allocations: 8 kB / 495.5 MB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.366, allocations: 7.984 kB / 495.5 MB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007528/0.3736, allocations: 3.949 MB / 499.5 MB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.3736, allocations: 4 kB / 499.5 MB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009697/0.3745, allocations: 215.7 kB / 499.7 MB, free: 336 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.3757, allocations: 454.6 kB / 0.4884 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.165e-05/0.3758, allocations: 35.97 kB / 0.4884 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00902/0.3848, allocations: 8.06 MB / 0.4963 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.3848, allocations: 7.938 kB / 0.4963 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005465/0.3903, allocations: 3.005 MB / 0.4993 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009884/0.3913, allocations: 290.9 kB / 0.4995 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.3915, allocations: 35.92 kB / 0.4996 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008982/0.3924, allocations: 83.91 kB / 0.4996 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/0.3927, allocations: 92.77 kB / 0.4997 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.331e-05/0.3927, allocations: 39.98 kB / 0.4998 GB, free: 3.758 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001547/0.3943, allocations: 0.8757 MB / 0.5006 GB, free: 2.879 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3943, allocations: 0 / 0.5006 GB, free: 2.879 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001963/0.3963, allocations: 463.9 kB / 0.5011 GB, free: 2.426 MB / 414.1 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.000463/0.3967, allocations: 194.9 kB / 0.5013 GB, free: 2.227 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004007/0.4007, allocations: 2.075 MB / 0.5033 GB, free: 116 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4007, allocations: 8.062 kB / 0.5033 GB, free: 108 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002524/0.4033, allocations: 1.395 MB / 0.5047 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.4052, allocations: 355.1 kB / 0.505 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008211/0.4134, allocations: 4.51 MB / 0.5094 GB, free: 9.738 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/0.415, allocations: 1.235 MB / 0.5106 GB, free: 8.457 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001138/0.4161, allocations: 344.5 kB / 0.5109 GB, free: 8.113 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/0.4165, allocations: 115.4 kB / 0.511 GB, free: 8 MB / 430.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4165, allocations: 0 / 0.511 GB, free: 8 MB / 430.1 MB Notification: Performance of Templates: time 0.2359/0.6524, allocations: 25.85 MB / 0.5363 GB, free: 109.8 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.6567728370428085]