Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.001094/0.001094, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0018/0.002895, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007316/0.0007316, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009799/0.001711, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9533/0.9533, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1232/1.076, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.[0-9,]+.|hallSensor.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.[0-9,]+.|hallSensor.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.631e-05, allocations: 6.109 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.007892/0.007918, allocations: 8.964 MB / 253.7 MB, free: 5.215 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005695/0.01361, allocations: 3.224 MB / 256.9 MB, free: 1.973 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.01505, allocations: 51.69 kB / 256.9 MB, free: 1.922 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.01662, allocations: 0.6793 MB / 257.6 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.01872, allocations: 0.7878 MB / 258.4 MB, free: 456 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005986/0.01932, allocations: 315.4 kB / 258.7 MB, free: 140 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002026/0.02134, allocations: 2.237 MB / 261 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000873/0.02221, allocations: 0.8285 MB / 261.8 MB, free: 13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.02422, allocations: 1.696 MB / 263.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.02526, allocations: 0.9897 MB / 264.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002466/0.02551, allocations: 224 kB / 264.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004991/0.02601, allocations: 327.7 kB / 265 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003618/0.02637, allocations: 0.5571 MB / 265.6 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005221/0.02689, allocations: 0.6121 MB / 266.2 MB, free: 8.582 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.02835, allocations: 1.596 MB / 267.8 MB, free: 6.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.02836, allocations: 0 / 267.8 MB, free: 6.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.02836, allocations: 4 kB / 267.8 MB, free: 6.977 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.497e-05/0.02839, allocations: 0 / 267.8 MB, free: 6.977 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: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.00236/0.03075, allocations: 2.498 MB / 270.3 MB, free: 4.441 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.03079, allocations: 12.03 kB / 270.3 MB, free: 4.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005312/0.03132, allocations: 373.8 kB / 270.7 MB, free: 4.047 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.03235, allocations: 0.8715 MB / 271.5 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/0.03241, allocations: 111.5 kB / 271.6 MB, free: 3.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.03256, allocations: 160.4 kB / 271.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.03374, allocations: 1.21 MB / 273 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.03378, allocations: 7.953 kB / 273 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/0.03387, allocations: 68 kB / 273.1 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.343e-05/0.03393, allocations: 74.92 kB / 273.2 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006278/0.03456, allocations: 476.2 kB / 273.6 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1459/0.1805, allocations: 4.995 MB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.181, allocations: 256 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.1811, allocations: 87.81 kB / 278.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.1813, allocations: 37.5 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.1813, allocations: 38.62 kB / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 2.975e-06/0.1813, allocations: 0 / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.003038/0.1843, allocations: 1.32 MB / 280.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.1844, allocations: 58.66 kB / 280.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.1855, allocations: 1.17 MB / 281.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.1856, allocations: 38.14 kB / 281.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004538/0.186, allocations: 0.9146 MB / 282.5 MB, free: 10.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.1862, allocations: 248.8 kB / 282.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003193/0.1865, allocations: 312 kB / 283.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.883e-05/0.1865, allocations: 307.7 kB / 283.4 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.1868, allocations: 157 kB / 283.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005475/0.1873, allocations: 1.074 MB / 284.6 MB, free: 8.637 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.1886, allocations: 1.539 MB / 286.1 MB, free: 7.438 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-05/0.1886, allocations: 13.69 kB / 286.2 MB, free: 7.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001763/0.1904, allocations: 1.176 MB / 287.3 MB, free: 7.324 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.1904, allocations: 21.44 kB / 287.3 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.006e-05/0.1905, allocations: 33 kB / 287.4 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002918/0.1907, allocations: 116 kB / 287.5 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009813/0.1917, allocations: 423.3 kB / 287.9 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007019/0.1924, allocations: 1.285 MB / 289.2 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009314/0.1934, allocations: 116.5 kB / 289.3 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-05/0.1935, allocations: 82.08 kB / 289.4 MB, free: 6.09 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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.0003563/0.1938, allocations: 248.9 kB / 289.6 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.194, allocations: 104.9 kB / 289.7 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007078/0.1947, allocations: 475 kB / 290.2 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1947, allocations: 10.06 kB / 290.2 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1947, allocations: 2.203 kB / 290.2 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.1947, allocations: 3.797 kB / 290.2 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.1967, allocations: 1.443 MB / 291.7 MB, free: 5.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.1967, allocations: 0 / 291.7 MB, free: 5.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.1971, allocations: 127.2 kB / 291.8 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.1973, allocations: 151.3 kB / 291.9 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002508/0.1976, allocations: 126.2 kB / 292 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.1976, allocations: 16.59 kB / 292.1 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004962/0.1981, allocations: 1.227 MB / 293.3 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1981, allocations: 2.688 kB / 293.3 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007438/0.1988, allocations: 0.6964 MB / 294 MB, free: 3.793 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.199, allocations: 13.47 kB / 294 MB, free: 3.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.1993, allocations: 31.62 kB / 294 MB, free: 3.789 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.1994, allocations: 47.69 kB / 294.1 MB, free: 3.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.1994, allocations: 13.75 kB / 294.1 MB, free: 3.785 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005598/0.2, allocations: 0.5255 MB / 294.6 MB, free: 3.738 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2, allocations: 0 / 294.6 MB, free: 3.738 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001131/0.2011, allocations: 352.3 kB / 295 MB, free: 3.738 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (speed.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 (60): * Single equations (assignments): 57 * 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 Backend phase and start with SimCode phase: time 0.0002486/0.2014, allocations: 151.8 kB / 295.1 MB, free: 3.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.2024, allocations: 0.8319 MB / 295.9 MB, free: 3.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.83e-05/0.2025, allocations: 35.22 kB / 296 MB, free: 3.492 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003713/0.2029, allocations: 366.2 kB / 296.3 MB, free: 3.352 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.2045, allocations: 3.531 MB / 299.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/0.2197, allocations: 2.604 MB / 302.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.22, allocations: 363.5 kB / 302.8 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000666/0.2207, allocations: 201.2 kB / 303 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006518/0.2214, allocations: 361.8 kB / 303.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2214, allocations: 3.375 kB / 303.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of Templates: time 0.02542/0.2468, allocations: 18.95 MB / 322.3 MB, free: 12.11 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1250941986218095]