Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.001119/0.001119, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001578/0.002697, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001031/0.001031, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001483/0.002515, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9013/0.9013, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07583/0.9771, allocations: 52.51 MB / 238.3 MB, free: 4.422 MB / 234.7 MB " [Timeout remaining time 179] 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_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smpm.is.[0-9,]+.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smpm.is.[0-9,]+.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/1.985e-05, allocations: 5.125 kB / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01798/0.018, allocations: 8.831 MB / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008309/0.02631, allocations: 3.204 MB / 251.6 MB, free: 7.078 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003739/0.03005, allocations: 51.69 kB / 251.6 MB, free: 7.027 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.03134, allocations: 0.6599 MB / 252.3 MB, free: 6.363 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004436/0.03577, allocations: 0.7684 MB / 253.1 MB, free: 5.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005599/0.03633, allocations: 339.2 kB / 253.4 MB, free: 5.258 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001884/0.03822, allocations: 2.194 MB / 255.6 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003946/0.04216, allocations: 0.8284 MB / 256.4 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.04425, allocations: 1.661 MB / 258.1 MB, free: 496 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.04542, allocations: 0.978 MB / 259.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002384/0.04565, allocations: 224 kB / 259.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.04606, allocations: 315.8 kB / 259.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003654/0.04643, allocations: 0.561 MB / 260.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005332/0.04696, allocations: 0.6082 MB / 260.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.04817, allocations: 1.577 MB / 262.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.166e-05/0.04818, allocations: 0 / 262.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.04818, allocations: 4 kB / 262.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.725e-05/0.04821, allocations: 0 / 262.3 MB, free: 12.22 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.002175/0.05038, allocations: 2.448 MB / 264.8 MB, free: 9.734 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.733e-05/0.05041, allocations: 8.031 kB / 264.8 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000466/0.05088, allocations: 373.8 kB / 265.2 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000924/0.0518, allocations: 0.8632 MB / 266 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.873e-05/0.05186, allocations: 111.5 kB / 266.1 MB, free: 8.324 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.052, allocations: 160.3 kB / 266.3 MB, free: 8.168 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.0531, allocations: 1.19 MB / 267.5 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/0.05313, allocations: 7.984 kB / 267.5 MB, free: 6.898 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.001e-05/0.05321, allocations: 60 kB / 267.5 MB, free: 6.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.722e-05/0.05327, allocations: 74.92 kB / 267.6 MB, free: 6.766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006022/0.05387, allocations: 472 kB / 268.1 MB, free: 6.289 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004089/0.05796, allocations: 4.889 MB / 273 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.05826, allocations: 250.8 kB / 273.2 MB, free: 0.832 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.841e-05/0.05835, allocations: 82.33 kB / 273.3 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.281e-05/0.05844, allocations: 36.45 kB / 273.3 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.05847, allocations: 39.06 kB / 273.4 MB, free: 0.668 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.973e-06/0.05847, allocations: 3.938 kB / 273.4 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.1074/0.1659, allocations: 1.701 MB / 275.1 MB, free: 18.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001079/0.1669, allocations: 1.875 MB / 277 MB, free: 16.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.168, allocations: 1.148 MB / 278.1 MB, free: 16.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.168, allocations: 40.92 kB / 278.1 MB, free: 16.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/0.1684, allocations: 0.9095 MB / 279 MB, free: 15.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.1685, allocations: 251.7 kB / 279.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003102/0.1688, allocations: 306.2 kB / 279.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.097e-05/0.1688, allocations: 308.8 kB / 279.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/0.1692, allocations: 189.6 kB / 280.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005947/0.1698, allocations: 1.12 MB / 281.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.1709, allocations: 1.486 MB / 282.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/0.1709, allocations: 9.094 kB / 282.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001731/0.1726, allocations: 1.218 MB / 283.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.1727, allocations: 23.34 kB / 283.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.44e-05/0.1727, allocations: 33.91 kB / 284 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002507/0.173, allocations: 118.9 kB / 284.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009416/0.1739, allocations: 421 kB / 284.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000552/0.1744, allocations: 1.297 MB / 285.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008088/0.1753, allocations: 107 kB / 285.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.1754, allocations: 85.45 kB / 286 MB, free: 11.47 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003067/0.1757, allocations: 247.4 kB / 286.2 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.1758, allocations: 108.8 kB / 286.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007598/0.1766, allocations: 0.5009 MB / 286.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1766, allocations: 13.72 kB / 286.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1766, allocations: 1.156 kB / 286.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1766, allocations: 4.375 kB / 286.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003765/0.1804, allocations: 2.157 MB / 289 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.1804, allocations: 4.938 kB / 289 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.1807, allocations: 112.2 kB / 289.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.1809, allocations: 162.3 kB / 289.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003875/0.1813, allocations: 190.6 kB / 289.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.1813, allocations: 24.12 kB / 289.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002755/0.1841, allocations: 2.948 MB / 292.4 MB, free: 7.809 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008476/0.1849, allocations: 1.822 MB / 294.3 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008624/0.1858, allocations: 0.8511 MB / 295.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.1859, allocations: 16.38 kB / 295.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.1863, allocations: 27.19 kB / 295.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.1864, allocations: 74.48 kB / 295.2 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.1864, allocations: 20.94 kB / 295.2 MB, free: 5.758 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004821/0.1869, allocations: 0.5212 MB / 295.8 MB, free: 5.711 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1869, allocations: 0 / 295.8 MB, free: 5.711 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001144/0.188, allocations: 371.7 kB / 296.1 MB, free: 5.711 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002378/0.1883, allocations: 160.4 kB / 296.3 MB, free: 5.633 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.1893, allocations: 0.8363 MB / 297.1 MB, free: 5.461 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.345e-05/0.1894, allocations: 36.84 kB / 297.2 MB, free: 5.457 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005362/0.1899, allocations: 495.7 kB / 297.6 MB, free: 5.203 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.1912, allocations: 494 kB / 298.1 MB, free: 5.156 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/0.2089, allocations: 2.829 MB / 301 MB, free: 3.734 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.2093, allocations: 364.2 kB / 301.3 MB, free: 3.648 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0007568/0.2101, allocations: 211.1 kB / 301.5 MB, free: 3.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000698/0.2108, allocations: 377.2 kB / 301.9 MB, free: 3.531 MB / 266.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2108, allocations: 4 kB / 301.9 MB, free: 3.527 MB / 266.7 MB Notification: Performance of Templates: time 0.02752/0.2383, allocations: 21.15 MB / 323 MB, free: 84 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.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.12259004637599]