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.001682/0.001682, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001949/0.001949, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.46/1.46, allocations: 230.5 MB / 258.1 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.002209/0.002209, allocations: 63.88 kB / 379 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2611, allocations: 53.41 MB / 432.4 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01115/0.2723, allocations: 8.072 MB / 440.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006388/0.2786, allocations: 2.991 MB / 443.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.2797, allocations: 59.62 kB / 443.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.2815, allocations: 0.6484 MB / 444.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.2838, allocations: 0.7729 MB / 444.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008063/0.2846, allocations: 315.5 kB / 445.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002745/0.2873, allocations: 2.14 MB / 447.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.2886, allocations: 0.8013 MB / 448.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.2901, allocations: 0.9576 MB / 449.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/0.2917, allocations: 1.089 MB / 450.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003444/0.2921, allocations: 228 kB / 450.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000666/0.2927, allocations: 331.8 kB / 450.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007468/0.2935, allocations: 0.6894 MB / 451.5 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.2946, allocations: 0.8867 MB / 452.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003764/0.2984, allocations: 3.161 MB / 455.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.2984, allocations: 4 kB / 455.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.2984, allocations: 3.938 kB / 455.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.947e-05/0.2984, allocations: 0 / 455.5 MB, free: 15.39 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.005026/0.3035, allocations: 2.282 MB / 457.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3035, allocations: 15.98 kB / 457.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006967/0.3042, allocations: 239.5 kB / 458.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/0.3066, allocations: 1.176 MB / 459.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.3068, allocations: 111.5 kB / 459.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002636/0.307, allocations: 159.9 kB / 459.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00359/0.3106, allocations: 2.104 MB / 461.6 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-05/0.3107, allocations: 7.953 kB / 461.6 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.3108, allocations: 67.98 kB / 461.7 MB, free: 9.086 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.509e-05/0.3109, allocations: 74.94 kB / 461.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003055/0.314, allocations: 1.674 MB / 463.4 MB, free: 7.332 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/0.3243, allocations: 6.202 MB / 469.6 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009147/0.3252, allocations: 450.7 kB / 470.1 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004738/0.3257, allocations: 273.1 kB / 470.3 MB, free: 100 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.3258, allocations: 40.39 kB / 470.4 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.3259, allocations: 39 kB / 470.4 MB, free: 12 kB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.334e-06/0.3259, allocations: 0 / 470.4 MB, free: 12 kB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.007162/0.333, allocations: 2.895 MB / 473.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.3331, allocations: 60.06 kB / 473.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002322/0.3354, allocations: 1.539 MB / 474.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.565e-05/0.3355, allocations: 33.7 kB / 474.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008563/0.3364, allocations: 1.071 MB / 476 MB, free: 10.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.3366, allocations: 258 kB / 476.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004399/0.337, allocations: 323.3 kB / 476.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3372, allocations: 305.1 kB / 476.9 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009466/0.3381, allocations: 0.5231 MB / 477.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.3398, allocations: 1.458 MB / 478.9 MB, free: 7.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002978/0.3428, allocations: 2.132 MB / 481 MB, free: 4.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.247e-05/0.3428, allocations: 15.94 kB / 481 MB, free: 4.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004169/0.347, allocations: 2.151 MB / 483.2 MB, free: 2.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.347, allocations: 23.98 kB / 483.2 MB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.836e-05/0.3471, allocations: 32 kB / 483.2 MB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/0.3477, allocations: 227.2 kB / 483.4 MB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.3489, allocations: 399.2 kB / 483.8 MB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.3509, allocations: 1.713 MB / 485.5 MB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.3522, allocations: 147.7 kB / 485.7 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.3524, allocations: 95.98 kB / 485.8 MB, free: 15.52 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.001034/0.3534, allocations: 0.5828 MB / 486.4 MB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/0.3537, allocations: 151 kB / 486.5 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.3559, allocations: 1.08 MB / 487.6 MB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.3559, allocations: 8 kB / 487.6 MB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3559, allocations: 0 / 487.6 MB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.3559, allocations: 3.984 kB / 487.6 MB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004827/0.3607, allocations: 2.384 MB / 490 MB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.3607, allocations: 3.984 kB / 490 MB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.3613, allocations: 119.8 kB / 490.1 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/0.3617, allocations: 170.6 kB / 490.3 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.3618, allocations: 15.94 kB / 490.3 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/0.3636, allocations: 1.659 MB / 491.9 MB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.3636, allocations: 4.031 kB / 491.9 MB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/0.3666, allocations: 1.638 MB / 493.6 MB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000801/0.3674, allocations: 210.9 kB / 493.8 MB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.3676, allocations: 15.98 kB / 493.8 MB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.3682, allocations: 56 kB / 493.9 MB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.3684, allocations: 52.34 kB / 493.9 MB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-05/0.3684, allocations: 20 kB / 493.9 MB, free: 7.082 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001583/0.37, allocations: 0.9739 MB / 494.9 MB, free: 6.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.37, allocations: 0 / 494.9 MB, free: 6.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001398/0.3714, allocations: 363.9 kB / 495.3 MB, free: 5.754 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.0003359/0.3717, allocations: 177.7 kB / 495.4 MB, free: 5.578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002872/0.3746, allocations: 1.413 MB / 496.8 MB, free: 4.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.3746, allocations: 4 kB / 496.8 MB, free: 4.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.3757, allocations: 0.5776 MB / 497.4 MB, free: 3.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.3774, allocations: 357.2 kB / 497.8 MB, free: 3.219 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005145/0.3826, allocations: 3.047 MB / 0.4891 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.3836, allocations: 0.8777 MB / 0.4899 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/0.384, allocations: 111.4 kB / 0.49 GB, free: 15.09 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.384, allocations: 3.938 kB / 0.49 GB, free: 15.09 MB / 414.1 MB Notification: Performance of Templates: time 0.2465/0.6305, allocations: 47.29 MB / 0.5362 GB, free: 105.5 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins1/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: 11.623593901284039]