Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001406/0.001406, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, allocations: 204 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003383/0.003383, allocations: 59.91 kB / 378.2 MB, free: 2.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3242, allocations: 53.4 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01287/0.3371, allocations: 8.089 MB / 439.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007644/0.3448, allocations: 2.977 MB / 442.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002024/0.3468, allocations: 55.62 kB / 442.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.349, allocations: 0.6558 MB / 443.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002662/0.3517, allocations: 0.7691 MB / 444.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000878/0.3526, allocations: 319.5 kB / 444.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002762/0.3553, allocations: 2.136 MB / 446.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.3567, allocations: 0.8013 MB / 447.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.3583, allocations: 0.9538 MB / 448.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.3599, allocations: 1.097 MB / 449.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004341/0.3604, allocations: 232 kB / 449.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008038/0.3612, allocations: 327.8 kB / 450 MB, free: 4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000767/0.3619, allocations: 0.6933 MB / 450.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.363, allocations: 0.879 MB / 451.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003668/0.3666, allocations: 3.172 MB / 454.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.3666, allocations: 0 / 454.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3666, allocations: 0 / 454.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.961e-05/0.3667, allocations: 0 / 454.8 MB, free: 15.24 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.004897/0.3716, allocations: 2.278 MB / 457 MB, free: 12.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.3716, allocations: 11.98 kB / 457.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007233/0.3724, allocations: 247.5 kB / 457.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/0.3746, allocations: 1.172 MB / 458.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.3747, allocations: 111.5 kB / 458.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/0.375, allocations: 155.9 kB / 458.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00363/0.3786, allocations: 2.112 MB / 460.8 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.542e-05/0.3787, allocations: 7.953 kB / 460.9 MB, free: 9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.3788, allocations: 60 kB / 460.9 MB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.379, allocations: 82.92 kB / 461 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003368/0.3823, allocations: 1.667 MB / 462.7 MB, free: 7.188 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.3934, allocations: 6.21 MB / 468.9 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009378/0.3943, allocations: 457.1 kB / 469.3 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000487/0.3948, allocations: 265.5 kB / 469.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/0.395, allocations: 36.41 kB / 469.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.395, allocations: 35.38 kB / 469.6 MB, free: 15.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.424e-06/0.395, allocations: 3.938 kB / 469.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.007665/0.4027, allocations: 2.899 MB / 472.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.4028, allocations: 68.05 kB / 472.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/0.4053, allocations: 1.539 MB / 474.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.083e-05/0.4054, allocations: 37.7 kB / 474.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009113/0.4063, allocations: 1.068 MB / 475.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/0.4065, allocations: 254 kB / 475.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004594/0.407, allocations: 319.3 kB / 475.8 MB, free: 9.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4071, allocations: 301.1 kB / 476.1 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009352/0.4081, allocations: 0.5231 MB / 476.6 MB, free: 8.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/0.4098, allocations: 1.454 MB / 478.1 MB, free: 6.883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/0.4127, allocations: 2.136 MB / 480.2 MB, free: 4.285 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/0.4127, allocations: 8 kB / 480.2 MB, free: 4.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00414/0.4169, allocations: 2.159 MB / 482.4 MB, free: 2.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.4169, allocations: 20 kB / 482.4 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-05/0.4169, allocations: 32 kB / 482.4 MB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005942/0.4175, allocations: 227 kB / 482.7 MB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.4187, allocations: 399.3 kB / 483.1 MB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.4207, allocations: 1.717 MB / 484.8 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.4222, allocations: 151.7 kB / 484.9 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.4224, allocations: 92 kB / 485 MB, free: 15.37 MB / 398.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.0009971/0.4234, allocations: 0.5835 MB / 485.6 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/0.4236, allocations: 151 kB / 485.7 MB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.4257, allocations: 1.084 MB / 486.8 MB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.4257, allocations: 15.88 kB / 486.8 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4257, allocations: 0 / 486.8 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.4258, allocations: 3.984 kB / 486.8 MB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005015/0.4308, allocations: 2.38 MB / 489.2 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.4308, allocations: 4 kB / 489.2 MB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/0.4313, allocations: 119.8 kB / 489.3 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004924/0.4318, allocations: 166.5 kB / 489.5 MB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/0.4318, allocations: 19.92 kB / 489.5 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/0.4336, allocations: 1.659 MB / 491.2 MB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4336, allocations: 0 / 491.2 MB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/0.4366, allocations: 1.626 MB / 492.8 MB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008288/0.4374, allocations: 218.9 kB / 493 MB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.4376, allocations: 16 kB / 493 MB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006932/0.4383, allocations: 60 kB / 493.1 MB, free: 7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.4385, allocations: 48.34 kB / 493.1 MB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.71e-05/0.4385, allocations: 16 kB / 493.2 MB, free: 6.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001745/0.4402, allocations: 0.9778 MB / 494.1 MB, free: 5.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4402, allocations: 0 / 494.1 MB, free: 5.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001642/0.4419, allocations: 363.9 kB / 494.5 MB, free: 5.605 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.0003525/0.4422, allocations: 173.4 kB / 494.7 MB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002909/0.4451, allocations: 1.421 MB / 496.1 MB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4452, allocations: 0 / 496.1 MB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.4463, allocations: 0.5736 MB / 496.7 MB, free: 3.414 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.448, allocations: 350 kB / 497 MB, free: 3.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00499/0.453, allocations: 3.001 MB / 0.4883 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.4541, allocations: 0.8933 MB / 0.4892 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001011/0.4551, allocations: 341 kB / 0.4895 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.4554, allocations: 103.4 kB / 0.4896 GB, free: 14.66 MB / 414.1 MB Notification: Performance of SimCode: time 1.392e-06/0.4554, allocations: 0 / 0.4896 GB, free: 14.66 MB / 414.1 MB Notification: Performance of Templates: time 0.04118/0.4965, allocations: 20.99 MB / 0.5101 GB, free: 9.969 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.346904465928674]