Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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.001305/0.001305, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001405/0.001405, allocations: 200.8 kB / 25.24 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 207.6 MB / 236 MB, free: 10.86 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 51.92 kB / 348.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2742, allocations: 49.16 MB / 397.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01048/0.2847, allocations: 10.35 MB / 408 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007241/0.2919, allocations: 3.511 MB / 411.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/0.2942, allocations: 67.25 kB / 411.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002762/0.297, allocations: 0.8276 MB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004511/0.3015, allocations: 0.8854 MB / 413.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.303, allocations: 438.3 kB / 413.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004619/0.3076, allocations: 2.764 MB / 416.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002181/0.3098, allocations: 1.323 MB / 417.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/0.3124, allocations: 1.287 MB / 419.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003254/0.3156, allocations: 1.622 MB / 420.7 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006922/0.3163, allocations: 334.4 kB / 421 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.3178, allocations: 443.5 kB / 421.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.3189, allocations: 0.9519 MB / 422.4 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002169/0.3211, allocations: 1.509 MB / 423.9 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00607/0.3272, allocations: 4.393 MB / 428.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3272, allocations: 0 / 428.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3272, allocations: 0 / 428.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000131/0.3273, allocations: 0 / 428.3 MB, free: 4.605 MB / 334.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.007746/0.3351, allocations: 3.057 MB / 431.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.3351, allocations: 11.98 kB / 431.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008921/0.336, allocations: 323 kB / 431.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/0.3389, allocations: 1.461 MB / 433.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.3391, allocations: 176.3 kB / 433.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003592/0.3395, allocations: 220 kB / 433.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005709/0.3452, allocations: 2.909 MB / 436.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.248e-05/0.3452, allocations: 4 kB / 436.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/0.3455, allocations: 99.92 kB / 436.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/0.3456, allocations: 112.3 kB / 436.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004807/0.3504, allocations: 2.433 MB / 439.1 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01698/0.3674, allocations: 8.876 MB / 448 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.3697, allocations: 1.187 MB / 449.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/0.3716, allocations: 0.917 MB / 450.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/0.3718, allocations: 53.52 kB / 450.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.449e-05/0.3719, allocations: 51.5 kB / 450.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=105): time 3.337e-06/0.3719, allocations: 0 / 450.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=122): time 0.0147/0.3866, allocations: 6.024 MB / 456.2 MB, free: 8.188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.3866, allocations: 68.41 kB / 456.3 MB, free: 8.109 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002566/0.3892, allocations: 1.573 MB / 457.8 MB, free: 6.527 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001977/0.3894, allocations: 45.7 kB / 457.9 MB, free: 6.477 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009565/0.3903, allocations: 1.13 MB / 459 MB, free: 5.332 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005077/0.3909, allocations: 452.2 kB / 459.5 MB, free: 4.887 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004974/0.3914, allocations: 275.5 kB / 459.7 MB, free: 4.609 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3915, allocations: 301.1 kB / 460 MB, free: 4.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.3928, allocations: 0.7105 MB / 460.7 MB, free: 3.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.3944, allocations: 1.143 MB / 461.9 MB, free: 2.273 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003047/0.3975, allocations: 1.964 MB / 463.8 MB, free: 128 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.3975, allocations: 4 kB / 463.8 MB, free: 124 kB / 366.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004741/0.4022, allocations: 2.436 MB / 466.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.4023, allocations: 19.94 kB / 466.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.779e-05/0.4023, allocations: 12 kB / 466.3 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.4033, allocations: 423.1 kB / 466.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.4047, allocations: 347.5 kB / 467.1 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007847/0.4125, allocations: 6.821 MB / 473.9 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.4142, allocations: 103.9 kB / 474 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/0.4144, allocations: 67.98 kB / 474 MB, free: 5.539 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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.001462/0.4158, allocations: 0.712 MB / 474.8 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004451/0.4163, allocations: 186.8 kB / 474.9 MB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004132/0.4204, allocations: 2.099 MB / 477 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.4204, allocations: 12 kB / 477.1 MB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.4205, allocations: 8 kB / 477.1 MB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.4205, allocations: 7.922 kB / 477.1 MB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009552/0.43, allocations: 4.662 MB / 481.7 MB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.43, allocations: 4 kB / 481.7 MB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009868/0.431, allocations: 223.6 kB / 481.9 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001206/0.4322, allocations: 451.4 kB / 482.4 MB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.4323, allocations: 39.98 kB / 482.4 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009273/0.4416, allocations: 8.269 MB / 490.7 MB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.4416, allocations: 8 kB / 490.7 MB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005986/0.4476, allocations: 3.152 MB / 493.9 MB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/0.4488, allocations: 326.8 kB / 494.2 MB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/0.4491, allocations: 35.98 kB / 494.2 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009309/0.45, allocations: 87.91 kB / 494.3 MB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002755/0.4503, allocations: 104.7 kB / 494.4 MB, free: 464 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.543e-05/0.4504, allocations: 39.98 kB / 494.4 MB, free: 424 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001883/0.4523, allocations: 1.066 MB / 495.5 MB, free: 15.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4523, allocations: 0 / 495.5 MB, free: 15.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002024/0.4543, allocations: 484 kB / 496 MB, free: 14.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (108): * Single equations (assignments): 104 * 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.0004914/0.4548, allocations: 200.9 kB / 496.2 MB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004364/0.4591, allocations: 2.146 MB / 498.3 MB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.4591, allocations: 1.938 kB / 498.3 MB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002547/0.4617, allocations: 1.426 MB / 499.7 MB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/0.4641, allocations: 481.4 kB / 0.4885 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009162/0.4733, allocations: 4.84 MB / 0.4932 GB, free: 5.598 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001838/0.4751, allocations: 1.847 MB / 0.495 GB, free: 3.719 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006563/0.4758, allocations: 131.4 kB / 0.4952 GB, free: 3.59 MB / 414.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4758, allocations: 0 / 0.4952 GB, free: 3.59 MB / 414.1 MB Notification: Performance of Templates: time 0.278/0.7538, allocations: 74.06 MB / 0.5675 GB, free: 151.3 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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: 12.983078397111967]