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.002281/0.002281, allocations: 99.53 kB / 21.73 MB, free: 2.688 MB / 18.57 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.002445/0.002445, allocations: 161.2 kB / 25.03 MB, free: 8.414 MB / 18.57 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.352/1.352, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.178e-05/3.31e-05, allocations: 6.109 kB / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01485/0.01488, allocations: 10.1 MB / 260.5 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007565/0.02245, allocations: 3.409 MB / 263.9 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.02388, allocations: 63.56 kB / 264 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.02601, allocations: 0.7722 MB / 264.7 MB, free: 9.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002923/0.02894, allocations: 0.9196 MB / 265.6 MB, free: 8.484 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.02996, allocations: 427.3 kB / 266.1 MB, free: 8.066 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003771/0.03373, allocations: 2.859 MB / 268.9 MB, free: 5.191 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002076/0.03581, allocations: 1.293 MB / 270.2 MB, free: 3.836 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003269/0.03908, allocations: 1.898 MB / 272.1 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/0.04161, allocations: 1.465 MB / 273.6 MB, free: 476 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006044/0.04221, allocations: 336 kB / 273.9 MB, free: 140 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009613/0.04317, allocations: 431.8 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001217/0.04439, allocations: 0.9971 MB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001623/0.04601, allocations: 1.045 MB / 276.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006008/0.05202, allocations: 4.46 MB / 280.8 MB, free: 9.195 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.05202, allocations: 0 / 280.8 MB, free: 9.195 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.05203, allocations: 0 / 280.8 MB, free: 9.195 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.26e-05/0.05212, allocations: 0 / 280.8 MB, free: 9.195 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.007464/0.05958, allocations: 3.458 MB / 284.3 MB, free: 5.684 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.05962, allocations: 11.98 kB / 284.3 MB, free: 5.672 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.06083, allocations: 0.4951 MB / 284.8 MB, free: 5.176 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003451/0.06428, allocations: 1.432 MB / 286.2 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.06447, allocations: 168.8 kB / 286.4 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003917/0.06486, allocations: 220.3 kB / 286.6 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00544/0.0703, allocations: 2.742 MB / 289.3 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.735e-05/0.07037, allocations: 3.938 kB / 289.4 MB, free: 464 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002282/0.07059, allocations: 92 kB / 289.4 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001582/0.07075, allocations: 116.3 kB / 289.6 MB, free: 252 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004227/0.07498, allocations: 1.758 MB / 291.3 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01913/0.09411, allocations: 10.45 MB / 301.8 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.09602, allocations: 0.8309 MB / 302.6 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.0976, allocations: 0.6348 MB / 303.2 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002532/0.09786, allocations: 52.97 kB / 303.3 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/0.09791, allocations: 54.33 kB / 303.3 MB, free: 1.887 MB / 282.7 MB Notification: Performance of pre-optimization done (n=105): time 3.256e-06/0.09792, allocations: 0 / 303.3 MB, free: 1.887 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.01081/0.1087, allocations: 3.741 MB / 307.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.1088, allocations: 72.39 kB / 307.2 MB, free: 14.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002813/0.1116, allocations: 1.717 MB / 308.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.1117, allocations: 45.7 kB / 308.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.1129, allocations: 1.301 MB / 310.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000534/0.1135, allocations: 492.1 kB / 310.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005772/0.1141, allocations: 337.1 kB / 311 MB, free: 10.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002529/0.1143, allocations: 476.8 kB / 311.5 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008994/0.1152, allocations: 371.8 kB / 311.9 MB, free: 9.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.1168, allocations: 1.027 MB / 312.9 MB, free: 7.988 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/0.1196, allocations: 1.552 MB / 314.4 MB, free: 6.184 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.1196, allocations: 4 kB / 314.4 MB, free: 6.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.003991/0.1236, allocations: 1.706 MB / 316.1 MB, free: 4.449 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.1236, allocations: 12 kB / 316.2 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.1237, allocations: 12 kB / 316.2 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.1247, allocations: 290.7 kB / 316.4 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.1261, allocations: 347.4 kB / 316.8 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008696/0.1348, allocations: 6.916 MB / 323.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.1367, allocations: 95.86 kB / 323.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002495/0.1369, allocations: 71.98 kB / 323.9 MB, free: 12.34 MB / 314.7 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.001816/0.1387, allocations: 0.5898 MB / 324.5 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006764/0.1394, allocations: 210.9 kB / 324.7 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00485/0.1443, allocations: 1.332 MB / 326 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.1443, allocations: 12 kB / 326 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.1443, allocations: 7.938 kB / 326 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.1443, allocations: 3.984 kB / 326 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/0.1568, allocations: 3.92 MB / 329.9 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.1568, allocations: 4 kB / 329.9 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/0.1582, allocations: 215.7 kB / 330.2 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/0.1599, allocations: 318.1 kB / 330.5 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/0.1601, allocations: 39.98 kB / 330.5 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/0.173, allocations: 8.692 MB / 339.2 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.173, allocations: 4 kB / 339.2 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00655/0.1796, allocations: 2.036 MB / 341.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/0.1811, allocations: 302.8 kB / 341.5 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004427/0.1815, allocations: 35.98 kB / 341.6 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.1829, allocations: 79.91 kB / 341.6 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003989/0.1833, allocations: 112.6 kB / 341.8 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.1835, allocations: 36 kB / 341.8 MB, free: 9.602 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002789/0.1862, allocations: 1.004 MB / 342.8 MB, free: 8.598 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1862, allocations: 0 / 342.8 MB, free: 8.598 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003339/0.1896, allocations: 484.1 kB / 343.3 MB, free: 8.125 MB / 330.7 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.000664/0.1903, allocations: 194.9 kB / 343.5 MB, free: 7.926 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004023/0.1943, allocations: 1.801 MB / 345.3 MB, free: 6.066 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.1943, allocations: 0 / 345.3 MB, free: 6.066 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002694/0.197, allocations: 1.415 MB / 346.7 MB, free: 4.578 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/0.1996, allocations: 454 kB / 347.1 MB, free: 4.145 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1158/0.3155, allocations: 4.205 MB / 351.3 MB, free: 96.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001918/0.3174, allocations: 1.225 MB / 352.5 MB, free: 96.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001083/0.3185, allocations: 307.5 kB / 352.8 MB, free: 96.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.3188, allocations: 117.3 kB / 353 MB, free: 96.37 MB / 330.7 MB Notification: Performance of SimCode: time 1.643e-06/0.3188, allocations: 0 / 353 MB, free: 96.37 MB / 330.7 MB Notification: Performance of Templates: time 0.03611/0.3549, allocations: 25.49 MB / 378.4 MB, free: 77.68 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat","/var/lib/jenkins/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/jenkins/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: 5.6731076129944995]