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.0007703/0.0007703, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.001835, allocations: 449.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.0007715/0.0007715, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009072/0.001679, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9526/0.9526, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08038/1.033, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.984e-06/1.984e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032e-05/1.23e-05, allocations: 10.25 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.007168/0.00718, allocations: 8.96 MB / 253.5 MB, free: 5.301 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005823/0.013, allocations: 3.212 MB / 256.7 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008091/0.01381, allocations: 59.62 kB / 256.8 MB, free: 2.016 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.01499, allocations: 0.6715 MB / 257.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.01628, allocations: 0.7917 MB / 258.2 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.01671, allocations: 323.4 kB / 258.5 MB, free: 232 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001485/0.01819, allocations: 2.241 MB / 260.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007601/0.01895, allocations: 0.8285 MB / 261.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.02045, allocations: 1.693 MB / 263.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008231/0.02128, allocations: 0.9897 MB / 264.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002124/0.02149, allocations: 224 kB / 264.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.02188, allocations: 331.7 kB / 264.8 MB, free: 9.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003974/0.02228, allocations: 0.5571 MB / 265.4 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005629/0.02284, allocations: 0.616 MB / 266 MB, free: 8.664 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.02411, allocations: 1.596 MB / 267.6 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-05/0.02412, allocations: 0 / 267.6 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02412, allocations: 0 / 267.6 MB, free: 7.062 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.367e-05/0.02415, allocations: 4 kB / 267.6 MB, free: 7.059 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.002366/0.02651, allocations: 2.487 MB / 270.1 MB, free: 4.535 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.02654, allocations: 8.031 kB / 270.1 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004836/0.02703, allocations: 377.8 kB / 270.5 MB, free: 4.141 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.02823, allocations: 0.8753 MB / 271.3 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/0.02828, allocations: 115.5 kB / 271.5 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.02843, allocations: 152.4 kB / 271.6 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.02954, allocations: 1.214 MB / 272.8 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.02957, allocations: 7.891 kB / 272.8 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.204e-05/0.02966, allocations: 64 kB / 272.9 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/0.02971, allocations: 74.94 kB / 273 MB, free: 1.523 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006017/0.03032, allocations: 468.3 kB / 273.4 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1516/0.1819, allocations: 5 MB / 278.4 MB, free: 17.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.1823, allocations: 261.3 kB / 278.7 MB, free: 17.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1824, allocations: 84.34 kB / 278.8 MB, free: 17.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.1826, allocations: 42.48 kB / 278.8 MB, free: 17.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1826, allocations: 37.64 kB / 278.8 MB, free: 17.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 2.535e-06/0.1826, allocations: 2.156 kB / 278.8 MB, free: 17.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.002572/0.1852, allocations: 1.307 MB / 280.1 MB, free: 17.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.1852, allocations: 61.86 kB / 280.2 MB, free: 17.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.1864, allocations: 1.169 MB / 281.4 MB, free: 17.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.1865, allocations: 37.23 kB / 281.4 MB, free: 17.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000412/0.1869, allocations: 0.9184 MB / 282.3 MB, free: 16.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.187, allocations: 244.8 kB / 282.6 MB, free: 16.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003094/0.1873, allocations: 311.8 kB / 282.9 MB, free: 16.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.1874, allocations: 312.1 kB / 283.2 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.1877, allocations: 158.3 kB / 283.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006922/0.1884, allocations: 1.07 MB / 284.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.1895, allocations: 1.437 MB / 285.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.671e-05/0.1895, allocations: 9.844 kB / 285.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001527/0.191, allocations: 1.174 MB / 287 MB, free: 13.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.191, allocations: 20.19 kB / 287 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.711e-05/0.1911, allocations: 32.88 kB / 287.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002751/0.1914, allocations: 118.4 kB / 287.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007347/0.1921, allocations: 424.2 kB / 287.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005465/0.1926, allocations: 1.285 MB / 288.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006328/0.1933, allocations: 118.5 kB / 289 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.159e-05/0.1933, allocations: 78.22 kB / 289.1 MB, free: 12.1 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.0002434/0.1936, allocations: 250.7 kB / 289.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.1937, allocations: 111.2 kB / 289.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000554/0.1943, allocations: 476.9 kB / 289.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1943, allocations: 7.625 kB / 289.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1943, allocations: 6.094 kB / 289.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.1943, allocations: 8.312 kB / 289.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.1958, allocations: 1.422 MB / 291.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1958, allocations: 3.938 kB / 291.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.1961, allocations: 122.3 kB / 291.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.1962, allocations: 160.6 kB / 291.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001921/0.1964, allocations: 128.7 kB / 291.7 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.1965, allocations: 14.53 kB / 291.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003974/0.1969, allocations: 1.228 MB / 293 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1969, allocations: 3.938 kB / 293 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005644/0.1974, allocations: 0.6932 MB / 293.7 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.772e-05/0.1975, allocations: 11.69 kB / 293.7 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.1978, allocations: 29.58 kB / 293.7 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/0.1978, allocations: 53.77 kB / 293.8 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.1978, allocations: 13.72 kB / 293.8 MB, free: 9.707 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003583/0.1982, allocations: 0.5228 MB / 294.3 MB, free: 9.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1982, allocations: 3.938 kB / 294.3 MB, free: 9.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007738/0.199, allocations: 352.6 kB / 294.7 MB, free: 9.656 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.0002079/0.1992, allocations: 151.8 kB / 294.8 MB, free: 9.574 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000731/0.1999, allocations: 0.7987 MB / 295.6 MB, free: 9.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.711e-05/0.2, allocations: 43.81 kB / 295.7 MB, free: 9.316 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003867/0.2004, allocations: 326 kB / 296 MB, free: 9.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.2015, allocations: 479.4 kB / 296.4 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.2128, allocations: 2.61 MB / 299 MB, free: 7.492 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.2131, allocations: 359.8 kB / 299.4 MB, free: 7.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0005994/0.2137, allocations: 204.3 kB / 299.6 MB, free: 7.051 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/0.2142, allocations: 373.1 kB / 300 MB, free: 6.688 MB / 266.7 MB Notification: Performance of SimCode: time 1.473e-06/0.2142, allocations: 4 kB / 300 MB, free: 6.684 MB / 266.7 MB Notification: Performance of Templates: time 0.02571/0.2399, allocations: 20.16 MB / 320.1 MB, free: 2.922 MB / 282.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9825797053053975]