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.00187/0.00187, allocations: 107.8 kB / 20.48 MB, free: 1.125 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.002348/0.002348, allocations: 214.7 kB / 23.78 MB, free: 4.328 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.565/1.565, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.002901/0.002901, allocations: 63.91 kB / 378.3 MB, free: 2.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2848, allocations: 53.4 MB / 431.7 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01131/0.2961, allocations: 8.077 MB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006988/0.3031, allocations: 2.985 MB / 442.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.3044, allocations: 51.69 kB / 442.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.3063, allocations: 0.6558 MB / 443.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.3088, allocations: 0.7691 MB / 444.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007828/0.3096, allocations: 319.5 kB / 444.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003257/0.3129, allocations: 2.14 MB / 446.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.3142, allocations: 0.8012 MB / 447.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.316, allocations: 0.9538 MB / 448.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/0.3177, allocations: 1.086 MB / 449.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003297/0.318, allocations: 236 kB / 449.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000697/0.3187, allocations: 327.8 kB / 450.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007741/0.3195, allocations: 0.6933 MB / 450.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.3205, allocations: 0.879 MB / 451.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00367/0.3242, allocations: 3.18 MB / 454.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3242, allocations: 0 / 454.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3242, allocations: 0 / 454.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.285e-05/0.3242, allocations: 0 / 454.8 MB, free: 15.22 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.004769/0.329, allocations: 2.278 MB / 457.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.329, allocations: 8.031 kB / 457.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007009/0.3297, allocations: 243.5 kB / 457.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002429/0.3322, allocations: 1.164 MB / 458.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.3323, allocations: 123.5 kB / 458.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/0.3326, allocations: 155.9 kB / 458.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004035/0.3366, allocations: 2.108 MB / 460.9 MB, free: 8.996 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.805e-05/0.3367, allocations: 7.953 kB / 460.9 MB, free: 8.988 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001589/0.3368, allocations: 60 kB / 461 MB, free: 8.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.3369, allocations: 78.88 kB / 461 MB, free: 8.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003172/0.3401, allocations: 1.674 MB / 462.7 MB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.3506, allocations: 6.202 MB / 468.9 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.3517, allocations: 461.2 kB / 469.4 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005177/0.3522, allocations: 266.1 kB / 469.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.3524, allocations: 36.41 kB / 469.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.3524, allocations: 39 kB / 469.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 3.327e-06/0.3524, allocations: 0 / 469.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.006982/0.3594, allocations: 2.903 MB / 472.6 MB, free: 12.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.3595, allocations: 64.06 kB / 472.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00229/0.3618, allocations: 1.539 MB / 474.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/0.3618, allocations: 37.7 kB / 474.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008758/0.3627, allocations: 1.071 MB / 475.3 MB, free: 10.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.3629, allocations: 250 kB / 475.6 MB, free: 9.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004567/0.3634, allocations: 323.3 kB / 475.9 MB, free: 9.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3635, allocations: 305.1 kB / 476.2 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009326/0.3644, allocations: 0.5192 MB / 476.7 MB, free: 8.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.3661, allocations: 1.458 MB / 478.2 MB, free: 6.863 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00288/0.369, allocations: 2.136 MB / 480.3 MB, free: 4.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/0.369, allocations: 8 kB / 480.3 MB, free: 4.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003824/0.3729, allocations: 2.152 MB / 482.4 MB, free: 2.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.3729, allocations: 23.98 kB / 482.5 MB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.52e-05/0.3729, allocations: 32 kB / 482.5 MB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005972/0.3735, allocations: 227 kB / 482.7 MB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.3747, allocations: 399.3 kB / 483.1 MB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.3767, allocations: 1.709 MB / 484.8 MB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.3782, allocations: 147.7 kB / 485 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.3783, allocations: 95.98 kB / 485.1 MB, free: 15.36 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.001007/0.3794, allocations: 0.5906 MB / 485.7 MB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000303/0.3797, allocations: 147 kB / 485.8 MB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.3818, allocations: 1.088 MB / 486.9 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.3818, allocations: 4 kB / 486.9 MB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3818, allocations: 4 kB / 486.9 MB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.3818, allocations: 3.984 kB / 486.9 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004931/0.3867, allocations: 2.376 MB / 489.3 MB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.3868, allocations: 3.938 kB / 489.3 MB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/0.3873, allocations: 127.8 kB / 489.4 MB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005032/0.3878, allocations: 170.6 kB / 489.6 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.856e-05/0.3878, allocations: 15.94 kB / 489.6 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.3896, allocations: 1.655 MB / 491.2 MB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3897, allocations: 0 / 491.2 MB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/0.3926, allocations: 1.634 MB / 492.9 MB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000679/0.3932, allocations: 215 kB / 493.1 MB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.3934, allocations: 15.98 kB / 493.1 MB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000614/0.394, allocations: 52 kB / 493.1 MB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.3941, allocations: 52.41 kB / 493.2 MB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.3942, allocations: 16 kB / 493.2 MB, free: 6.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001536/0.3957, allocations: 0.9817 MB / 494.2 MB, free: 5.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3957, allocations: 0 / 494.2 MB, free: 5.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001968/0.3977, allocations: 359.9 kB / 494.5 MB, free: 5.598 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.0004972/0.3982, allocations: 173.8 kB / 494.7 MB, free: 5.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003324/0.4015, allocations: 1.421 MB / 496.1 MB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.4015, allocations: 0 / 496.1 MB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.4026, allocations: 0.5814 MB / 496.7 MB, free: 3.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/0.4043, allocations: 361.7 kB / 497.1 MB, free: 3.055 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005585/0.4099, allocations: 2.994 MB / 0.4883 GB, free: 8 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.411, allocations: 0.8816 MB / 0.4892 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009837/0.412, allocations: 341 kB / 0.4895 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.4122, allocations: 107.4 kB / 0.4896 GB, free: 14.64 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4122, allocations: 0 / 0.4896 GB, free: 14.64 MB / 414.1 MB Notification: Performance of Templates: time 0.03931/0.4516, allocations: 20.98 MB / 0.5101 GB, free: 9.969 MB / 430.1 MB " [Timeout remaining time 660] 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.256960900966078]