Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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.001651/0.001651, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.00214/0.00214, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 43.94 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2235, allocations: 53.37 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01153/0.235, allocations: 8.577 MB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005814/0.2408, allocations: 2.972 MB / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008777/0.2417, allocations: 75.5 kB / 444 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.2432, allocations: 0.6711 MB / 444.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001937/0.2452, allocations: 0.8116 MB / 445.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008093/0.246, allocations: 395.4 kB / 445.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00276/0.2487, allocations: 2.556 MB / 448.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001785/0.2505, allocations: 1.253 MB / 449.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.2521, allocations: 1.23 MB / 450.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.2541, allocations: 1.444 MB / 452.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004233/0.2546, allocations: 320 kB / 452.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007513/0.2553, allocations: 415.8 kB / 453 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000914/0.2562, allocations: 0.9155 MB / 454 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.2575, allocations: 1.14 MB / 455.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00437/0.2619, allocations: 4.204 MB / 459.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2619, allocations: 3.938 kB / 459.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2619, allocations: 0 / 459.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.01e-05/0.2619, allocations: 4 kB / 459.3 MB, free: 11.58 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.005755/0.2677, allocations: 2.904 MB / 462.2 MB, free: 8.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2677, allocations: 12.03 kB / 462.2 MB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007827/0.2685, allocations: 303.2 kB / 462.5 MB, free: 8.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/0.2714, allocations: 1.479 MB / 464 MB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.2715, allocations: 160.3 kB / 464.2 MB, free: 6.641 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/0.2718, allocations: 212 kB / 464.4 MB, free: 6.434 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004808/0.2767, allocations: 2.904 MB / 467.3 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.805e-05/0.2767, allocations: 4 kB / 467.3 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/0.2769, allocations: 84 kB / 467.3 MB, free: 3.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001448/0.2771, allocations: 108.2 kB / 467.5 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004165/0.2812, allocations: 2.347 MB / 469.8 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/0.2942, allocations: 7.374 MB / 477.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/0.2965, allocations: 1.183 MB / 478.4 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/0.2982, allocations: 0.89 MB / 479.2 MB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/0.2984, allocations: 56.89 kB / 479.3 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.2985, allocations: 51.56 kB / 479.4 MB, free: 7.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.116e-06/0.2985, allocations: 0 / 479.4 MB, free: 7.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01334/0.3118, allocations: 5.705 MB / 485.1 MB, free: 1.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.3119, allocations: 68.41 kB / 485.1 MB, free: 1.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/0.3139, allocations: 1.305 MB / 486.4 MB, free: 15.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.314, allocations: 45.7 kB / 486.5 MB, free: 15.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008856/0.3149, allocations: 1.074 MB / 487.5 MB, free: 14.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003842/0.3153, allocations: 424.5 kB / 488 MB, free: 14.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004176/0.3157, allocations: 259.5 kB / 488.2 MB, free: 14.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3159, allocations: 353.9 kB / 488.6 MB, free: 13.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.3171, allocations: 0.6948 MB / 489.3 MB, free: 13.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.3186, allocations: 1.073 MB / 490.3 MB, free: 11.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002831/0.3214, allocations: 1.864 MB / 492.2 MB, free: 9.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.3214, allocations: 4 kB / 492.2 MB, free: 9.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004203/0.3256, allocations: 2.327 MB / 494.5 MB, free: 7.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.3257, allocations: 16.25 kB / 494.5 MB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.3257, allocations: 12 kB / 494.6 MB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009862/0.3267, allocations: 415 kB / 495 MB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.3279, allocations: 335.4 kB / 495.3 MB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007295/0.3352, allocations: 6.611 MB / 0.4901 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.3364, allocations: 107.8 kB / 0.4902 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.3365, allocations: 60 kB / 0.4903 GB, free: 15.6 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.001186/0.3377, allocations: 0.685 MB / 0.491 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/0.3379, allocations: 155 kB / 0.4911 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/0.3418, allocations: 2.046 MB / 0.4931 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.3418, allocations: 12 kB / 0.4931 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.3418, allocations: 4 kB / 0.4931 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.3418, allocations: 3.984 kB / 0.4931 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007505/0.3493, allocations: 3.942 MB / 0.497 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.3494, allocations: 7.984 kB / 0.497 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009347/0.3503, allocations: 208.1 kB / 0.4972 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/0.3514, allocations: 459 kB / 0.4976 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-05/0.3515, allocations: 31.98 kB / 0.4977 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00875/0.3603, allocations: 8.061 MB / 0.5055 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.3603, allocations: 7.938 kB / 0.5055 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005198/0.3655, allocations: 3.016 MB / 0.5085 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009218/0.3664, allocations: 290.9 kB / 0.5088 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003062/0.3667, allocations: 35.92 kB / 0.5088 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009973/0.3677, allocations: 79.91 kB / 0.5089 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/0.368, allocations: 92.77 kB / 0.509 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-05/0.368, allocations: 35.98 kB / 0.509 GB, free: 11.83 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001639/0.3697, allocations: 0.8837 MB / 0.5099 GB, free: 10.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3697, allocations: 4 kB / 0.5099 GB, free: 10.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001842/0.3715, allocations: 459.9 kB / 0.5103 GB, free: 10.49 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.000481/0.372, allocations: 205.5 kB / 0.5105 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004124/0.3761, allocations: 2.082 MB / 0.5125 GB, free: 8.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.3761, allocations: 4 kB / 0.5125 GB, free: 8.156 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002527/0.3787, allocations: 1.396 MB / 0.5139 GB, free: 6.707 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/0.3807, allocations: 360.8 kB / 0.5142 GB, free: 6.363 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008677/0.3894, allocations: 4.565 MB / 0.5187 GB, free: 1.723 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001853/0.3913, allocations: 1.219 MB / 0.5199 GB, free: 468 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006181/0.3919, allocations: 115.4 kB / 0.52 GB, free: 352 kB / 430.1 MB Notification: Performance of SimCode: time 1.543e-06/0.3919, allocations: 0 / 0.52 GB, free: 352 kB / 430.1 MB Notification: Performance of Templates: time 0.258/0.6498, allocations: 69.18 MB / 0.5876 GB, free: 56.62 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 12.540755087975413]