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.001106/0.001106, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001341/0.002447, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008103/0.0008103, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009806/0.001791, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.9055/0.9055, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1357/1.041, allocations: 49.49 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|smpm.idq_dr.[0-9,]+.|smpm.idq_rr.[0-9,]+.|smpm.idq_sr.[0-9,]+.|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.[0-9,]+.|smpm.idq_dr.[0-9,]+.|smpm.idq_rr.[0-9,]+.|smpm.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.935e-05, allocations: 2.312 kB / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.008516/0.008545, allocations: 10.04 MB / 231.9 MB, free: 6.074 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004028/0.01257, allocations: 3.551 MB / 235.4 MB, free: 2.508 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005058/0.01308, allocations: 67.5 kB / 235.5 MB, free: 2.441 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.01431, allocations: 0.7839 MB / 236.3 MB, free: 1.652 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.01547, allocations: 0.9156 MB / 237.2 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.01592, allocations: 423.3 kB / 237.6 MB, free: 324 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001692/0.01761, allocations: 2.878 MB / 240.5 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.01865, allocations: 1.32 MB / 241.8 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.02079, allocations: 2.312 MB / 244.1 MB, free: 9.691 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.0218, allocations: 1.387 MB / 245.5 MB, free: 8.301 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002553/0.02205, allocations: 324 kB / 245.8 MB, free: 7.984 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004536/0.02251, allocations: 419.8 kB / 246.2 MB, free: 7.574 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005017/0.02301, allocations: 0.7714 MB / 247 MB, free: 6.801 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006591/0.02367, allocations: 0.8344 MB / 247.8 MB, free: 5.965 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.02549, allocations: 2.223 MB / 250.1 MB, free: 3.734 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.283e-05/0.0255, allocations: 0 / 250.1 MB, free: 3.734 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.0255, allocations: 0 / 250.1 MB, free: 3.734 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.171e-05/0.02554, allocations: 0 / 250.1 MB, free: 3.734 MB / 250.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.002939/0.02847, allocations: 3.336 MB / 253.4 MB, free: 364 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.02851, allocations: 8.031 kB / 253.4 MB, free: 356 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005821/0.02909, allocations: 481.7 kB / 253.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.03025, allocations: 1.075 MB / 255 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.868e-05/0.03034, allocations: 172.8 kB / 255.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.03054, allocations: 220.3 kB / 255.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.03214, allocations: 1.695 MB / 257 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/0.03218, allocations: 11.92 kB / 257 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003622/0.03254, allocations: 91.98 kB / 257.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-05/0.03262, allocations: 112.3 kB / 257.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008774/0.0335, allocations: 0.6541 MB / 257.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005587/0.03909, allocations: 5.893 MB / 263.8 MB, free: 5.473 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.04011, allocations: 0.6504 MB / 264.4 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.04062, allocations: 435.3 kB / 264.9 MB, free: 4.383 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001586/0.04077, allocations: 52.97 kB / 264.9 MB, free: 4.332 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.0408, allocations: 39.56 kB / 265 MB, free: 4.285 MB / 266.7 MB Notification: Performance of pre-optimization done (n=105): time 2.014e-06/0.0408, allocations: 0 / 265 MB, free: 4.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=122): time 0.003837/0.04464, allocations: 2.585 MB / 267.5 MB, free: 1.668 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.04467, allocations: 72.28 kB / 267.6 MB, free: 1.586 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/0.04707, allocations: 1.047 MB / 268.7 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.04725, allocations: 45.7 kB / 268.7 MB, free: 484 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005926/0.04784, allocations: 0.9482 MB / 269.7 MB, free: 15.51 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003847/0.04823, allocations: 448.1 kB / 270.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003801/0.04861, allocations: 255.4 kB / 270.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.0487, allocations: 305.1 kB / 270.6 MB, free: 14.51 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/0.04908, allocations: 170.8 kB / 270.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/0.04966, allocations: 0.5845 MB / 271.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.05083, allocations: 0.9267 MB / 272.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.05084, allocations: 4 kB / 272.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.002008/0.05285, allocations: 1.043 MB / 273.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.05288, allocations: 12 kB / 273.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.0529, allocations: 12 kB / 273.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007788/0.05368, allocations: 252.4 kB / 273.6 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.05481, allocations: 355.5 kB / 274 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00422/0.05903, allocations: 4.758 MB / 278.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008931/0.05992, allocations: 63.88 kB / 278.8 MB, free: 5.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.852e-05/0.06002, allocations: 48 kB / 278.8 MB, free: 5.625 MB / 282.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.0005831/0.06061, allocations: 212.2 kB / 279.1 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.06089, allocations: 135.9 kB / 279.2 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.06257, allocations: 0.8765 MB / 280.1 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.06258, allocations: 12 kB / 280.1 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.06258, allocations: 4 kB / 280.1 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.0626, allocations: 7.984 kB / 280.1 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004251/0.06685, allocations: 2.529 MB / 282.6 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.06686, allocations: 7.938 kB / 282.6 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008013/0.06766, allocations: 223.7 kB / 282.8 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004768/0.06814, allocations: 218.8 kB / 283.1 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008968/0.06903, allocations: 300.3 kB / 283.4 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.379e-05/0.06912, allocations: 39.92 kB / 283.4 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1144/0.1835, allocations: 5.934 MB / 289.3 MB, free: 42.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.1835, allocations: 8.906 kB / 289.3 MB, free: 42.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.1853, allocations: 1.305 MB / 290.6 MB, free: 41.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.1856, allocations: 37.97 kB / 290.7 MB, free: 41.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.186, allocations: 46.66 kB / 290.7 MB, free: 41.74 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.1862, allocations: 109 kB / 290.8 MB, free: 41.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/0.1862, allocations: 29.17 kB / 290.9 MB, free: 41.74 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006198/0.1868, allocations: 0.5179 MB / 291.4 MB, free: 41.69 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1868, allocations: 0 / 291.4 MB, free: 41.69 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001236/0.1881, allocations: 475 kB / 291.8 MB, free: 41.69 MB / 282.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003076/0.1884, allocations: 179.8 kB / 292 MB, free: 41.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.1898, allocations: 1.185 MB / 293.2 MB, free: 41.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.247e-05/0.1899, allocations: 27.31 kB / 293.2 MB, free: 41.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009396/0.1908, allocations: 0.9559 MB / 294.2 MB, free: 40.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.192, allocations: 0.5388 MB / 294.7 MB, free: 40.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/0.2071, allocations: 3.993 MB / 298.7 MB, free: 39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.2077, allocations: 0.5285 MB / 299.2 MB, free: 38.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008394/0.2085, allocations: 223.2 kB / 299.5 MB, free: 38.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007501/0.2093, allocations: 418.2 kB / 299.9 MB, free: 38.77 MB / 282.7 MB Notification: Performance of SimCode: time 2.164e-06/0.2093, allocations: 0 / 299.9 MB, free: 38.77 MB / 282.7 MB Notification: Performance of Templates: time 0.03601/0.2453, allocations: 27.15 MB / 327 MB, free: 17.71 MB / 282.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4662295803427696]