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.001976/0.001976, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002419/0.002419, allocations: 211 kB / 23.73 MB, free: 4.164 MB / 14.72 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.468/1.468, allocations: 230.5 MB / 257.4 MB, free: 7.816 MB / 206.1 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 0.002161/0.002161, allocations: 67.89 kB / 378.2 MB, free: 2.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2527, allocations: 53.41 MB / 431.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01108/0.2638, allocations: 8.56 MB / 440.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005474/0.2693, allocations: 2.981 MB / 443.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008146/0.2701, allocations: 71.5 kB / 443.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.2716, allocations: 0.6711 MB / 443.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002078/0.2737, allocations: 0.8155 MB / 444.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008479/0.2745, allocations: 403.4 kB / 445.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002931/0.2774, allocations: 2.56 MB / 447.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/0.2792, allocations: 1.257 MB / 449 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.2807, allocations: 1.219 MB / 450.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001952/0.2827, allocations: 1.448 MB / 451.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004464/0.2831, allocations: 316 kB / 451.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008253/0.284, allocations: 419.8 kB / 452.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009981/0.285, allocations: 0.9116 MB / 453.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.2868, allocations: 1.151 MB / 454.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004968/0.2917, allocations: 4.196 MB / 458.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.2917, allocations: 8 kB / 458.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2918, allocations: 0 / 458.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.214e-05/0.2918, allocations: 0 / 458.6 MB, free: 11.42 MB / 366.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.005809/0.2977, allocations: 2.904 MB / 461.5 MB, free: 8.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2977, allocations: 15.98 kB / 461.5 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008022/0.2985, allocations: 307.2 kB / 461.8 MB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002909/0.3014, allocations: 1.471 MB / 463.3 MB, free: 6.641 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.3015, allocations: 164.3 kB / 463.5 MB, free: 6.477 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003494/0.3019, allocations: 211.9 kB / 463.7 MB, free: 6.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004825/0.3067, allocations: 2.896 MB / 466.6 MB, free: 3.262 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.948e-05/0.3068, allocations: 7.984 kB / 466.6 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000207/0.307, allocations: 95.97 kB / 466.7 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001241/0.3071, allocations: 104.2 kB / 466.8 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004237/0.3113, allocations: 2.347 MB / 469.1 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.3246, allocations: 7.37 MB / 476.5 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.3269, allocations: 1.183 MB / 477.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.3287, allocations: 0.8889 MB / 478.6 MB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002267/0.3289, allocations: 48.97 kB / 478.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.329, allocations: 43.56 kB / 478.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.176e-06/0.329, allocations: 0 / 478.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01346/0.3424, allocations: 5.725 MB / 484.4 MB, free: 1.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.3425, allocations: 64.41 kB / 484.4 MB, free: 1.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.3444, allocations: 1.301 MB / 485.7 MB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.854e-05/0.3445, allocations: 41.7 kB / 485.8 MB, free: 15.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008447/0.3454, allocations: 1.078 MB / 486.9 MB, free: 14.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000372/0.3457, allocations: 424.4 kB / 487.3 MB, free: 14.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004254/0.3462, allocations: 255.5 kB / 487.5 MB, free: 13.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3463, allocations: 365.9 kB / 487.9 MB, free: 13.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.3476, allocations: 0.6871 MB / 488.6 MB, free: 12.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.3491, allocations: 1.073 MB / 489.6 MB, free: 11.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0029/0.352, allocations: 1.875 MB / 491.5 MB, free: 9.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/0.352, allocations: 4 kB / 491.5 MB, free: 9.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004276/0.3563, allocations: 2.319 MB / 493.8 MB, free: 7.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.3563, allocations: 8 kB / 493.8 MB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.3564, allocations: 12 kB / 493.9 MB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.3574, allocations: 411.3 kB / 494.3 MB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.3587, allocations: 339.4 kB / 494.6 MB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007528/0.3662, allocations: 6.619 MB / 0.4895 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.3674, allocations: 103.8 kB / 0.4896 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.3676, allocations: 59.98 kB / 0.4896 GB, free: 15.44 MB / 414.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.001277/0.3688, allocations: 0.6851 MB / 0.4903 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003155/0.3691, allocations: 151.1 kB / 0.4904 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003792/0.3729, allocations: 2.038 MB / 0.4924 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.373, allocations: 12 kB / 0.4924 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.373, allocations: 8 kB / 0.4924 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.373, allocations: 7.969 kB / 0.4924 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007636/0.3806, allocations: 3.953 MB / 0.4963 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.3806, allocations: 4 kB / 0.4963 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009337/0.3816, allocations: 207.7 kB / 0.4965 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.3827, allocations: 455.4 kB / 0.4969 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.3828, allocations: 35.98 kB / 0.497 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00872/0.3916, allocations: 8.065 MB / 0.5049 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.3916, allocations: 4 kB / 0.5049 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005359/0.3969, allocations: 3.016 MB / 0.5078 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009982/0.3979, allocations: 290.9 kB / 0.5081 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003354/0.3983, allocations: 35.92 kB / 0.5081 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009506/0.3992, allocations: 83.91 kB / 0.5082 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/0.3995, allocations: 100.8 kB / 0.5083 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.663e-05/0.3995, allocations: 32 kB / 0.5083 GB, free: 11.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001539/0.4011, allocations: 0.8759 MB / 0.5092 GB, free: 10.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4011, allocations: 0 / 0.5092 GB, free: 10.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001754/0.4028, allocations: 467.9 kB / 0.5096 GB, free: 10.33 MB / 430.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.0004106/0.4033, allocations: 194.8 kB / 0.5098 GB, free: 10.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003775/0.407, allocations: 2.079 MB / 0.5118 GB, free: 8.016 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.407, allocations: 64 / 0.5118 GB, free: 8.016 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002594/0.4096, allocations: 1.403 MB / 0.5132 GB, free: 6.559 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.4117, allocations: 352.5 kB / 0.5135 GB, free: 6.219 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008731/0.4204, allocations: 4.504 MB / 0.5179 GB, free: 1.645 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/0.4222, allocations: 1.238 MB / 0.5192 GB, free: 368 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001272/0.4235, allocations: 352.5 kB / 0.5195 GB, free: 8 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005147/0.424, allocations: 107.4 kB / 0.5196 GB, free: 15.9 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.424, allocations: 0 / 0.5196 GB, free: 15.9 MB / 446.1 MB Notification: Performance of Templates: time 0.2382/0.6622, allocations: 25.94 MB / 0.5449 GB, free: 95.53 MB / 446.1 MB " [Timeout remaining time 659] 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.741282034665346]