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.002013/0.002013, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002387/0.002387, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.488/1.488, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|toSpacePhasor.y.2.|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.1.|toSpacePhasor.y.2.|hallSensor.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 43.92 kB / 373.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1174, allocations: 53.32 MB / 426.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.2714/0.3888, allocations: 9.159 MB / 436 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007212/0.396, allocations: 3.185 MB / 439.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.3973, allocations: 57.03 kB / 439.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001952/0.3992, allocations: 0.7241 MB / 439.9 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002571/0.4018, allocations: 0.7538 MB / 440.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009356/0.4027, allocations: 312 kB / 441 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002803/0.4055, allocations: 2.147 MB / 443.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.407, allocations: 1.03 MB / 444.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001947/0.409, allocations: 0.9479 MB / 445.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.4107, allocations: 1.171 MB / 446.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004055/0.4111, allocations: 231.6 kB / 446.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008325/0.4119, allocations: 339.1 kB / 446.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008005/0.4127, allocations: 0.6889 MB / 447.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.4139, allocations: 1.096 MB / 448.6 MB, free: 312 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00486/0.4188, allocations: 3.149 MB / 451.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4188, allocations: 1.875 kB / 451.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4188, allocations: 0 / 451.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.331e-05/0.4188, allocations: 4 kB / 451.8 MB, free: 15.17 MB / 366.1 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.006067/0.4249, allocations: 2.351 MB / 454.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.425, allocations: 9.438 kB / 454.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008318/0.4258, allocations: 242 kB / 454.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.4281, allocations: 1.252 MB / 455.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.4283, allocations: 113.5 kB / 455.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002687/0.4285, allocations: 152.4 kB / 455.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003908/0.4324, allocations: 2.034 MB / 457.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.92e-05/0.4325, allocations: 11.39 kB / 457.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002383/0.4327, allocations: 61.47 kB / 458 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001571/0.4329, allocations: 78.39 kB / 458.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003554/0.4364, allocations: 1.681 MB / 459.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/0.4491, allocations: 7.065 MB / 466.8 MB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009962/0.4501, allocations: 447.8 kB / 467.2 MB, free: 4.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/0.4506, allocations: 264.6 kB / 467.5 MB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/0.4508, allocations: 114.9 kB / 467.6 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.4509, allocations: 39.19 kB / 467.7 MB, free: 4.387 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.735e-06/0.4509, allocations: 0 / 467.7 MB, free: 4.387 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.007832/0.4587, allocations: 3.063 MB / 470.7 MB, free: 2.609 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.4588, allocations: 58.81 kB / 470.8 MB, free: 2.547 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002512/0.4613, allocations: 1.632 MB / 472.4 MB, free: 1.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.4613, allocations: 36.02 kB / 472.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009623/0.4623, allocations: 1.068 MB / 473.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.4625, allocations: 244.5 kB / 473.8 MB, free: 472 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004735/0.463, allocations: 326.1 kB / 474.1 MB, free: 272 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4632, allocations: 306.5 kB / 474.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009566/0.4641, allocations: 0.526 MB / 474.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.4661, allocations: 1.453 MB / 476.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003082/0.4692, allocations: 2.137 MB / 478.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/0.4692, allocations: 8 kB / 478.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004227/0.4734, allocations: 2.165 MB / 480.7 MB, free: 9.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.4735, allocations: 20 kB / 480.7 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.836e-05/0.4735, allocations: 32 kB / 480.7 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006563/0.4742, allocations: 235.2 kB / 480.9 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.4754, allocations: 395.4 kB / 481.3 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.4776, allocations: 1.847 MB / 483.2 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.4793, allocations: 143.7 kB / 483.3 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.4794, allocations: 92 kB / 483.4 MB, free: 6.281 MB / 382.1 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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001154/0.4806, allocations: 0.5983 MB / 484 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/0.4809, allocations: 163 kB / 484.2 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002289/0.4832, allocations: 1.086 MB / 485.2 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.4832, allocations: 4.609 kB / 485.3 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4832, allocations: 4 kB / 485.3 MB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.4832, allocations: 3.984 kB / 485.3 MB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005782/0.489, allocations: 2.746 MB / 488 MB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.489, allocations: 7.875 kB / 488 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005581/0.4895, allocations: 119.8 kB / 488.1 MB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005041/0.49, allocations: 174.6 kB / 488.3 MB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.156e-05/0.4901, allocations: 12 kB / 488.3 MB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/0.492, allocations: 1.78 MB / 490.1 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.492, allocations: 3.938 kB / 490.1 MB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003012/0.4951, allocations: 1.644 MB / 491.7 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007301/0.4958, allocations: 308 kB / 492 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.496, allocations: 12 kB / 492.1 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006919/0.4967, allocations: 47.94 kB / 492.1 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.4968, allocations: 58.03 kB / 492.2 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-05/0.4969, allocations: 19.98 kB / 492.2 MB, free: 13.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001865/0.4987, allocations: 1.083 MB / 493.3 MB, free: 12.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4987, allocations: 0 / 493.3 MB, free: 12.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001578/0.5003, allocations: 363.9 kB / 493.6 MB, free: 11.74 MB / 398.1 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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003552/0.5006, allocations: 176.7 kB / 493.8 MB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003017/0.5037, allocations: 1.572 MB / 495.4 MB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5037, allocations: 3.938 kB / 495.4 MB, free: 9.938 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.5049, allocations: 0.7246 MB / 496.1 MB, free: 9.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.5069, allocations: 414.5 kB / 496.5 MB, free: 8.785 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005434/0.5123, allocations: 3.012 MB / 499.5 MB, free: 5.723 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.5136, allocations: 1.465 MB / 0.4892 GB, free: 4.223 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001089/0.5147, allocations: 354.5 kB / 0.4896 GB, free: 3.883 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/0.515, allocations: 111.4 kB / 0.4897 GB, free: 3.777 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.515, allocations: 0 / 0.4897 GB, free: 3.777 MB / 398.1 MB Notification: Performance of Templates: time 0.04093/0.5559, allocations: 20.32 MB / 0.5095 GB, free: 15.66 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.470913928002119]