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.001964/0.001964, allocations: 113 kB / 19.04 MB, free: 3.254 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.002192/0.002192, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.407/1.407, allocations: 225.6 MB / 250.8 MB, free: 13.34 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.001451/0.001451, allocations: 55.84 kB / 368.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2343, allocations: 52.13 MB / 420.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01243/0.2468, allocations: 9.725 MB / 430.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00568/0.2525, allocations: 3.12 MB / 433.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000981/0.2534, allocations: 55.75 kB / 433.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.2551, allocations: 0.7104 MB / 434.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.2571, allocations: 0.7999 MB / 435.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008213/0.2579, allocations: 399.3 kB / 435.7 MB, free: 236 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002681/0.2606, allocations: 2.545 MB / 438.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001754/0.2624, allocations: 1.295 MB / 439.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.2639, allocations: 1.191 MB / 440.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.2658, allocations: 1.53 MB / 442.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004169/0.2662, allocations: 316 kB / 442.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007048/0.2669, allocations: 419.8 kB / 443 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008856/0.2678, allocations: 0.9193 MB / 443.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.2693, allocations: 1.423 MB / 445.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004292/0.2735, allocations: 4.159 MB / 449.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2735, allocations: 0 / 449.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2736, allocations: 0 / 449.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.275e-05/0.2736, allocations: 0 / 449.5 MB, free: 2.34 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.005559/0.2792, allocations: 2.976 MB / 452.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.2792, allocations: 8.031 kB / 452.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006627/0.2799, allocations: 299.2 kB / 452.7 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/0.2824, allocations: 1.551 MB / 454.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.2826, allocations: 168.3 kB / 454.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00031/0.2829, allocations: 208 kB / 454.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004826/0.2877, allocations: 2.796 MB / 457.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-05/0.2878, allocations: 8 kB / 457.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002091/0.288, allocations: 87.98 kB / 457.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/0.2881, allocations: 104.2 kB / 457.6 MB, free: 9.934 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004184/0.2923, allocations: 2.351 MB / 460 MB, free: 7.566 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0141/0.3064, allocations: 8.514 MB / 468.5 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/0.3088, allocations: 1.645 MB / 470.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.3104, allocations: 0.9088 MB / 471.1 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002955/0.3107, allocations: 207.2 kB / 471.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.3108, allocations: 47.5 kB / 471.3 MB, free: 11.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 2.625e-06/0.3108, allocations: 0 / 471.3 MB, free: 11.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01303/0.3238, allocations: 6.27 MB / 477.6 MB, free: 5.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.3238, allocations: 64.41 kB / 477.6 MB, free: 5.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/0.326, allocations: 1.437 MB / 479.1 MB, free: 3.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.3261, allocations: 53.64 kB / 479.1 MB, free: 3.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008685/0.3269, allocations: 1.067 MB / 480.2 MB, free: 2.742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/0.3273, allocations: 428.4 kB / 480.6 MB, free: 2.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004338/0.3277, allocations: 247.5 kB / 480.9 MB, free: 2.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.3279, allocations: 365.9 kB / 481.2 MB, free: 1.707 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.3291, allocations: 0.6871 MB / 481.9 MB, free: 1.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.3306, allocations: 1.073 MB / 483 MB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002784/0.3334, allocations: 1.864 MB / 484.8 MB, free: 13.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.3334, allocations: 8 kB / 484.8 MB, free: 13.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004224/0.3376, allocations: 2.414 MB / 487.3 MB, free: 11.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.3376, allocations: 12 kB / 487.3 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.3377, allocations: 12 kB / 487.3 MB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009984/0.3387, allocations: 415.3 kB / 487.7 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.3398, allocations: 327.5 kB / 488 MB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007276/0.3471, allocations: 7.045 MB / 495.1 MB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.3483, allocations: 103.9 kB / 495.2 MB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.3484, allocations: 59.98 kB / 495.2 MB, free: 2.922 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.001168/0.3496, allocations: 0.6924 MB / 495.9 MB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/0.3498, allocations: 167 kB / 496.1 MB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/0.3536, allocations: 2.119 MB / 498.2 MB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.3536, allocations: 12 kB / 498.2 MB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.3536, allocations: 4 kB / 498.2 MB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.3536, allocations: 7.969 kB / 498.2 MB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007732/0.3613, allocations: 4.552 MB / 0.491 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.3613, allocations: 0 / 0.491 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000946/0.3623, allocations: 220.1 kB / 0.4912 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.3635, allocations: 451.1 kB / 0.4916 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-05/0.3636, allocations: 35.92 kB / 0.4917 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008774/0.3724, allocations: 8.627 MB / 0.5001 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.3724, allocations: 7.938 kB / 0.5001 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005178/0.3775, allocations: 3.096 MB / 0.5031 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007494/0.3783, allocations: 383.9 kB / 0.5035 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.3785, allocations: 36 kB / 0.5035 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008311/0.3793, allocations: 83.91 kB / 0.5036 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/0.3796, allocations: 88.81 kB / 0.5037 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.952e-05/0.3796, allocations: 39.92 kB / 0.5037 GB, free: 13.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001458/0.3811, allocations: 0.9926 MB / 0.5047 GB, free: 12.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3811, allocations: 0 / 0.5047 GB, free: 12.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001472/0.3826, allocations: 459.9 kB / 0.5051 GB, free: 12.01 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.0003743/0.383, allocations: 206.3 kB / 0.5053 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003564/0.3865, allocations: 2.155 MB / 0.5074 GB, free: 9.598 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.3865, allocations: 4 kB / 0.5074 GB, free: 9.594 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002306/0.3888, allocations: 1.399 MB / 0.5088 GB, free: 8.141 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.3906, allocations: 420.2 kB / 0.5092 GB, free: 7.734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006994/0.3976, allocations: 4.526 MB / 0.5136 GB, free: 3.137 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/0.3992, allocations: 1.803 MB / 0.5154 GB, free: 1.297 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009909/0.4002, allocations: 361.6 kB / 0.5157 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003351/0.4005, allocations: 119.4 kB / 0.5158 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4005, allocations: 0 / 0.5158 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of Templates: time 0.252/0.6525, allocations: 25.54 MB / 0.5408 GB, free: 101.6 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.8139023166149855]