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.002128/0.002128, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002683/0.002683, allocations: 160.8 kB / 24.27 MB, free: 152 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.586/1.586, allocations: 177 MB / 204.4 MB, free: 5.621 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.994e-06/1.994e-06, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.379e-05/3.579e-05, allocations: 2.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.0244/0.02443, allocations: 9.531 MB / 281.7 MB, free: 8.219 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.03522, allocations: 3.089 MB / 284.8 MB, free: 5.121 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.03697, allocations: 75.5 kB / 284.9 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003148/0.04012, allocations: 0.6751 MB / 285.6 MB, free: 4.367 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004231/0.04435, allocations: 0.8459 MB / 286.4 MB, free: 3.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.04601, allocations: 391.4 kB / 286.8 MB, free: 3.133 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005214/0.05123, allocations: 2.653 MB / 289.5 MB, free: 484 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1145/0.1658, allocations: 1.259 MB / 290.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002531/0.1683, allocations: 1.788 MB / 292.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002073/0.1704, allocations: 1.406 MB / 293.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005364/0.1709, allocations: 318.4 kB / 294.2 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008768/0.1718, allocations: 425.3 kB / 294.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008623/0.1726, allocations: 0.9439 MB / 295.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.1738, allocations: 0.986 MB / 296.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003748/0.1776, allocations: 4.252 MB / 300.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1776, allocations: 1.375 kB / 300.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1776, allocations: 0 / 300.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.632e-05/0.1776, allocations: 0 / 300.8 MB, free: 14.94 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.005712/0.1833, allocations: 3.275 MB / 304.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1834, allocations: 17.02 kB / 304.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.1844, allocations: 483.3 kB / 304.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/0.1869, allocations: 1.454 MB / 306 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-05/0.187, allocations: 164.2 kB / 306.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002618/0.1873, allocations: 209 kB / 306.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003605/0.1909, allocations: 2.643 MB / 309 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-05/0.1909, allocations: 6.562 kB / 309.1 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/0.1911, allocations: 83.97 kB / 309.1 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.739e-05/0.1912, allocations: 111.5 kB / 309.2 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002819/0.194, allocations: 1.691 MB / 310.9 MB, free: 8.781 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01238/0.2064, allocations: 9.759 MB / 320.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/0.2084, allocations: 0.8366 MB / 321.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.21, allocations: 0.6163 MB / 322.1 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000249/0.2102, allocations: 56.97 kB / 322.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/0.2103, allocations: 49.86 kB / 322.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of pre-optimization done (n=101): time 3.356e-06/0.2103, allocations: 0 / 322.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=116): time 0.01049/0.2208, allocations: 3.598 MB / 325.8 MB, free: 10.03 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.2208, allocations: 64.41 kB / 325.9 MB, free: 9.953 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002578/0.2234, allocations: 1.572 MB / 327.5 MB, free: 8.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.2235, allocations: 49.08 kB / 327.5 MB, free: 8.324 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.2247, allocations: 1.217 MB / 328.7 MB, free: 7.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005331/0.2252, allocations: 458.9 kB / 329.2 MB, free: 6.656 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005736/0.2258, allocations: 309.2 kB / 329.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004151/0.2262, allocations: 0.5902 MB / 330.1 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008936/0.2271, allocations: 359.8 kB / 330.4 MB, free: 5.398 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.2286, allocations: 0.9397 MB / 331.4 MB, free: 4.242 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002512/0.2311, allocations: 1.435 MB / 332.8 MB, free: 2.641 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.2311, allocations: 0 / 332.8 MB, free: 2.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00391/0.235, allocations: 1.62 MB / 334.4 MB, free: 1.078 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.235, allocations: 11.98 kB / 334.4 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.2351, allocations: 12.25 kB / 334.5 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.2362, allocations: 270.5 kB / 334.7 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.2375, allocations: 328.1 kB / 335 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008149/0.2456, allocations: 6.865 MB / 341.9 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.247, allocations: 103.8 kB / 342 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.2471, allocations: 63.98 kB / 342.1 MB, free: 9.125 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.001221/0.2483, allocations: 0.5603 MB / 342.6 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004543/0.2488, allocations: 187.1 kB / 342.8 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00325/0.252, allocations: 1.278 MB / 344.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.2521, allocations: 8 kB / 344.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.2521, allocations: 8 kB / 344.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/0.2521, allocations: 11.91 kB / 344.1 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00833/0.2604, allocations: 3.742 MB / 347.9 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.2604, allocations: 7.562 kB / 347.9 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009822/0.2614, allocations: 210.5 kB / 348.1 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/0.2629, allocations: 316.7 kB / 348.4 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-05/0.263, allocations: 35.98 kB / 348.4 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009679/0.2726, allocations: 8.633 MB / 357.1 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.2726, allocations: 4 kB / 357.1 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004506/0.2771, allocations: 1.925 MB / 359 MB, free: 7.645 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009919/0.2781, allocations: 274.9 kB / 359.2 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/0.2784, allocations: 28 kB / 359.3 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008619/0.2792, allocations: 79.91 kB / 359.4 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/0.2795, allocations: 108.2 kB / 359.5 MB, free: 7.164 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.339e-05/0.2796, allocations: 35.98 kB / 359.5 MB, free: 7.129 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001614/0.2812, allocations: 0.9149 MB / 360.4 MB, free: 6.211 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2812, allocations: 0 / 360.4 MB, free: 6.211 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001987/0.2832, allocations: 459.9 kB / 360.9 MB, free: 5.762 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.0004939/0.2837, allocations: 208 kB / 361.1 MB, free: 5.562 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003933/0.2876, allocations: 1.739 MB / 362.8 MB, free: 3.812 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.2876, allocations: 0.875 kB / 362.8 MB, free: 3.812 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002492/0.2901, allocations: 1.381 MB / 364.2 MB, free: 2.387 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.2923, allocations: 377.5 kB / 364.6 MB, free: 2.039 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007698/0.3, allocations: 3.969 MB / 368.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/0.3016, allocations: 1.153 MB / 369.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001308/0.3029, allocations: 296.5 kB / 370 MB, free: 12.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000364/0.3032, allocations: 108.5 kB / 370.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of SimCode: time 1.473e-06/0.3032, allocations: 0 / 370.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of Templates: time 0.04699/0.3502, allocations: 23.38 MB / 393.4 MB, free: 5.395 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] 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.790375974960625]