Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_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.001288/0.001288, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001229/0.001229, allocations: 190 kB / 22.21 MB, free: 112 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.431/1.431, allocations: 225.6 MB / 250.8 MB, free: 13.42 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.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 55.91 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.258, allocations: 52.14 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01281/0.2708, allocations: 10.41 MB / 431.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007529/0.2783, allocations: 3.45 MB / 434.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.2802, allocations: 59.75 kB / 434.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002332/0.2825, allocations: 0.8228 MB / 435.6 MB, free: 328 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003697/0.2862, allocations: 0.8776 MB / 436.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.2876, allocations: 423.4 kB / 436.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00429/0.2919, allocations: 2.754 MB / 439.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.2939, allocations: 1.348 MB / 441 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/0.296, allocations: 1.269 MB / 442.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00258/0.2986, allocations: 1.615 MB / 443.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005891/0.2992, allocations: 339.9 kB / 444.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008849/0.3001, allocations: 439.8 kB / 444.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009534/0.301, allocations: 0.9582 MB / 445.6 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.3027, allocations: 1.501 MB / 447.1 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004695/0.3074, allocations: 4.387 MB / 451.5 MB, free: 320 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3074, allocations: 3.938 kB / 451.5 MB, free: 316 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3074, allocations: 0 / 451.5 MB, free: 316 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.534e-05/0.3074, allocations: 4 kB / 451.5 MB, free: 312 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.005712/0.3131, allocations: 3.121 MB / 454.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3132, allocations: 8.031 kB / 454.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007309/0.3139, allocations: 331 kB / 455 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/0.3166, allocations: 1.642 MB / 456.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.3167, allocations: 164.4 kB / 456.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003341/0.317, allocations: 227.9 kB / 457 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004842/0.3219, allocations: 2.913 MB / 459.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.4e-05/0.3219, allocations: 11.92 kB / 459.9 MB, free: 7.688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/0.3222, allocations: 91.98 kB / 460 MB, free: 7.598 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001203/0.3223, allocations: 112.3 kB / 460.1 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004285/0.3266, allocations: 2.437 MB / 462.6 MB, free: 5.031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/0.3404, allocations: 9.034 MB / 471.6 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002335/0.3428, allocations: 1.63 MB / 473.2 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/0.3445, allocations: 0.926 MB / 474.1 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003155/0.3448, allocations: 207.2 kB / 474.3 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.3448, allocations: 43.56 kB / 474.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 2.595e-06/0.3449, allocations: 0 / 474.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.0156/0.3604, allocations: 6.601 MB / 481 MB, free: 1.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.3605, allocations: 68.39 kB / 481.1 MB, free: 1.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002819/0.3633, allocations: 1.565 MB / 482.6 MB, free: 348 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.3635, allocations: 49.7 kB / 482.7 MB, free: 292 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009446/0.3644, allocations: 1.13 MB / 483.8 MB, free: 15.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004313/0.3648, allocations: 456.2 kB / 484.2 MB, free: 14.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004499/0.3653, allocations: 271.5 kB / 484.5 MB, free: 14.42 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3654, allocations: 305.1 kB / 484.8 MB, free: 14.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.3667, allocations: 0.7066 MB / 485.5 MB, free: 13.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.3683, allocations: 1.142 MB / 486.7 MB, free: 12.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00292/0.3712, allocations: 1.967 MB / 488.6 MB, free: 9.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.3712, allocations: 4 kB / 488.6 MB, free: 9.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004471/0.3757, allocations: 2.531 MB / 491.2 MB, free: 7.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.3757, allocations: 12 kB / 491.2 MB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.3757, allocations: 12 kB / 491.2 MB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.3767, allocations: 423.3 kB / 491.6 MB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.3779, allocations: 355.4 kB / 491.9 MB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007813/0.3858, allocations: 7.119 MB / 499.1 MB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.3872, allocations: 111.8 kB / 499.2 MB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.3873, allocations: 67.92 kB / 499.2 MB, free: 14.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (169): * Single equations (assignments): 165 * 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,12,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.001302/0.3886, allocations: 0.712 MB / 499.9 MB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003227/0.389, allocations: 186.8 kB / 0.4884 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00408/0.393, allocations: 2.194 MB / 0.4906 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.3931, allocations: 12 kB / 0.4906 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.3931, allocations: 4 kB / 0.4906 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.3931, allocations: 11.92 kB / 0.4906 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008809/0.4019, allocations: 4.752 MB / 0.4952 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.4019, allocations: 4.094 kB / 0.4952 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009874/0.4029, allocations: 227.6 kB / 0.4954 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.4042, allocations: 451.3 kB / 0.4959 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.4043, allocations: 31.98 kB / 0.4959 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008964/0.4133, allocations: 8.694 MB / 0.5044 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.4133, allocations: 4 kB / 0.5044 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005755/0.4191, allocations: 3.219 MB / 0.5075 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009632/0.42, allocations: 407.8 kB / 0.5079 GB, free: 9.082 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.4203, allocations: 28 kB / 0.508 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008833/0.4211, allocations: 91.89 kB / 0.508 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002625/0.4214, allocations: 96.75 kB / 0.5081 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-05/0.4215, allocations: 39.98 kB / 0.5082 GB, free: 8.832 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001688/0.4232, allocations: 1.066 MB / 0.5092 GB, free: 7.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4232, allocations: 0 / 0.5092 GB, free: 7.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00176/0.4249, allocations: 496.1 kB / 0.5097 GB, free: 7.285 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],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 (107): * Single equations (assignments): 103 * 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,12,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.0004433/0.4254, allocations: 194.9 kB / 0.5099 GB, free: 7.082 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00426/0.4296, allocations: 2.241 MB / 0.5121 GB, free: 4.781 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.4296, allocations: 1.875 kB / 0.5121 GB, free: 4.781 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002653/0.4323, allocations: 1.418 MB / 0.5134 GB, free: 3.312 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/0.4349, allocations: 485.4 kB / 0.5139 GB, free: 2.844 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008198/0.4431, allocations: 4.76 MB / 0.5186 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/0.4448, allocations: 1.871 MB / 0.5204 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00126/0.4461, allocations: 390.8 kB / 0.5208 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/0.4464, allocations: 123.4 kB / 0.5209 GB, free: 11.58 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4464, allocations: 0 / 0.5209 GB, free: 11.58 MB / 446.1 MB Notification: Performance of Templates: time 0.05323/0.4997, allocations: 27.64 MB / 0.5479 GB, free: 204 kB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_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: 6.000102166086435]