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.001132/0.001132, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001675/0.002807, allocations: 445.8 kB / 10.44 MB, free: 256 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.0009904/0.0009904, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001395/0.002386, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.8814/0.8814, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1709/1.052, allocations: 52.49 MB / 238.5 MB, free: 7.629 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.673e-06/1.673e-06, allocations: 0 / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.504e-05, allocations: 6.797 kB / 239.8 MB, free: 6.363 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.008601/0.008616, allocations: 8.826 MB / 248.6 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00509/0.01371, allocations: 3.211 MB / 251.8 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006624/0.01437, allocations: 51.69 kB / 251.8 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.01562, allocations: 0.6707 MB / 252.5 MB, free: 9.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.01708, allocations: 0.7699 MB / 253.3 MB, free: 8.816 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005452/0.01762, allocations: 331.3 kB / 253.6 MB, free: 8.492 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00193/0.01955, allocations: 2.194 MB / 255.8 MB, free: 6.289 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009771/0.02053, allocations: 0.8206 MB / 256.6 MB, free: 5.402 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/0.02254, allocations: 1.665 MB / 258.3 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.02372, allocations: 0.9819 MB / 259.3 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003251/0.02404, allocations: 224 kB / 259.5 MB, free: 2.52 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005188/0.02456, allocations: 319.7 kB / 259.8 MB, free: 2.207 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000476/0.02504, allocations: 0.5649 MB / 260.4 MB, free: 1.641 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006288/0.02567, allocations: 0.6044 MB / 261 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.0272, allocations: 1.573 MB / 262.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.02721, allocations: 0 / 262.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.02721, allocations: 0 / 262.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.01e-05/0.02725, allocations: 4 kB / 262.5 MB, free: 15.45 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.002634/0.02989, allocations: 2.452 MB / 265 MB, free: 12.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.02992, allocations: 8.031 kB / 265 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007012/0.03062, allocations: 377.8 kB / 265.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.03202, allocations: 0.8593 MB / 266.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.061e-05/0.03211, allocations: 115.4 kB / 266.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/0.03232, allocations: 152.3 kB / 266.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.03412, allocations: 1.19 MB / 267.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.715e-05/0.03417, allocations: 11.98 kB / 267.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.0343, allocations: 63.98 kB / 267.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.885e-05/0.03439, allocations: 78.91 kB / 267.8 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009768/0.03537, allocations: 468.1 kB / 268.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006192/0.04156, allocations: 4.874 MB / 273.2 MB, free: 4.332 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.04203, allocations: 250.8 kB / 273.4 MB, free: 4.074 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.04218, allocations: 86.25 kB / 273.5 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.04232, allocations: 36.47 kB / 273.5 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.04235, allocations: 43 kB / 273.6 MB, free: 3.902 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/0.04235, allocations: 4 kB / 273.6 MB, free: 3.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.00419/0.04654, allocations: 1.721 MB / 275.3 MB, free: 2.129 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001499/0.04804, allocations: 1.885 MB / 277.2 MB, free: 124 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008738/0.04892, allocations: 1.144 MB / 278.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.04895, allocations: 41.69 kB / 278.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.04928, allocations: 0.9052 MB / 279.3 MB, free: 14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.04939, allocations: 242 kB / 279.5 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.04962, allocations: 323.1 kB / 279.8 MB, free: 13.44 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.318e-05/0.04969, allocations: 301.1 kB / 280.1 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.05006, allocations: 190.8 kB / 280.3 MB, free: 12.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008524/0.05091, allocations: 1.113 MB / 281.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.05204, allocations: 1.593 MB / 283 MB, free: 9.309 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.05205, allocations: 11.94 kB / 283 MB, free: 9.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001195/0.05324, allocations: 1.216 MB / 284.2 MB, free: 8.062 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.05326, allocations: 16 kB / 284.3 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.05328, allocations: 39.98 kB / 284.3 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/0.05347, allocations: 123 kB / 284.4 MB, free: 7.875 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/0.05412, allocations: 423.3 kB / 284.8 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005875/0.0547, allocations: 1.288 MB / 286.1 MB, free: 6.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/0.05519, allocations: 111.7 kB / 286.2 MB, free: 5.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/0.05526, allocations: 83.98 kB / 286.3 MB, free: 5.879 MB / 282.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.0002314/0.05549, allocations: 243.8 kB / 286.5 MB, free: 5.629 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.05561, allocations: 103.9 kB / 286.6 MB, free: 5.527 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005871/0.0562, allocations: 0.5022 MB / 287.1 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.0562, allocations: 12 kB / 287.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.05621, allocations: 0 / 287.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.05621, allocations: 3.984 kB / 287.2 MB, free: 4.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.05829, allocations: 2.169 MB / 289.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.05829, allocations: 4 kB / 289.3 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.0585, allocations: 111.8 kB / 289.4 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.05869, allocations: 159.6 kB / 289.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003106/0.059, allocations: 191.3 kB / 289.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.05903, allocations: 23.94 kB / 289.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.06051, allocations: 2.951 MB / 292.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008402/0.06135, allocations: 1.802 MB / 294.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007211/0.06207, allocations: 0.8566 MB / 295.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-05/0.06214, allocations: 16 kB / 295.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.06239, allocations: 27.98 kB / 295.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.06247, allocations: 71.8 kB / 295.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.06249, allocations: 20.03 kB / 295.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000604/0.0631, allocations: 0.9656 MB / 296.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0631, allocations: 0 / 296.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007433/0.06384, allocations: 371.9 kB / 296.9 MB, free: 10.51 MB / 298.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.0002133/0.06405, allocations: 156.2 kB / 297 MB, free: 10.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007953/0.06485, allocations: 0.8844 MB / 297.9 MB, free: 9.457 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.686e-05/0.0649, allocations: 35.84 kB / 297.9 MB, free: 9.422 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004271/0.06532, allocations: 0.5135 MB / 298.5 MB, free: 8.875 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.06715, allocations: 3.487 MB / 302 MB, free: 4.715 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.07818, allocations: 2.829 MB / 304.8 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.07844, allocations: 362.2 kB / 305.1 MB, free: 1.375 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004023/0.07885, allocations: 205.1 kB / 305.3 MB, free: 1.168 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005054/0.07935, allocations: 385.1 kB / 305.7 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.07935, allocations: 0 / 305.7 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of Templates: time 0.0243/0.1037, allocations: 19.89 MB / 325.6 MB, free: 13.21 MB / 330.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6713651614263654]