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.001947/0.001947, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002515/0.002515, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.524/1.524, allocations: 230.5 MB / 258.1 MB, free: 8.016 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.001898/0.001898, allocations: 59.91 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2757, allocations: 53.42 MB / 432.5 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01187/0.2875, allocations: 9.19 MB / 441.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006842/0.2944, allocations: 3.199 MB / 444.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.2955, allocations: 51.69 kB / 444.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.2973, allocations: 0.7299 MB / 445.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002387/0.2997, allocations: 0.7691 MB / 446.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007441/0.3004, allocations: 327.3 kB / 446.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002429/0.3029, allocations: 2.148 MB / 448.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.3041, allocations: 0.8286 MB / 449.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.3055, allocations: 0.9538 MB / 450.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/0.3073, allocations: 1.175 MB / 451.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003475/0.3076, allocations: 232 kB / 452 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006424/0.3083, allocations: 335.8 kB / 452.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007477/0.309, allocations: 0.6855 MB / 453.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.3101, allocations: 1.1 MB / 454.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003377/0.3135, allocations: 3.145 MB / 457.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.3135, allocations: 4 kB / 457.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3135, allocations: 4 kB / 457.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.614e-05/0.3135, allocations: 0 / 457.3 MB, free: 13.77 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.004351/0.3179, allocations: 2.27 MB / 459.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3179, allocations: 16.02 kB / 459.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006531/0.3186, allocations: 243.5 kB / 459.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/0.3209, allocations: 1.176 MB / 461 MB, free: 9.984 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.321, allocations: 111.5 kB / 461.1 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002404/0.3212, allocations: 155.9 kB / 461.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003391/0.3246, allocations: 2.029 MB / 463.3 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.011e-05/0.3247, allocations: 15.92 kB / 463.3 MB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/0.3248, allocations: 67.98 kB / 463.4 MB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.798e-05/0.3249, allocations: 78.94 kB / 463.5 MB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002923/0.3278, allocations: 1.686 MB / 465.1 MB, free: 5.789 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01043/0.3382, allocations: 6.91 MB / 472.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008865/0.3391, allocations: 453.6 kB / 472.5 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004705/0.3396, allocations: 265.2 kB / 472.8 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/0.3398, allocations: 40.34 kB / 472.8 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.3398, allocations: 39 kB / 472.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 3.006e-06/0.3398, allocations: 0 / 472.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.006856/0.3467, allocations: 2.918 MB / 475.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.3467, allocations: 56.06 kB / 475.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/0.3491, allocations: 1.632 MB / 477.4 MB, free: 9.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.744e-05/0.3491, allocations: 41.69 kB / 477.5 MB, free: 9.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008337/0.35, allocations: 1.064 MB / 478.5 MB, free: 7.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.3502, allocations: 246 kB / 478.8 MB, free: 7.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004165/0.3506, allocations: 327.3 kB / 479.1 MB, free: 7.402 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3507, allocations: 309.1 kB / 479.4 MB, free: 7.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009275/0.3517, allocations: 0.5192 MB / 479.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.3536, allocations: 1.454 MB / 481.4 MB, free: 4.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00285/0.3564, allocations: 2.136 MB / 483.5 MB, free: 2.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/0.3564, allocations: 11.94 kB / 483.5 MB, free: 2.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003766/0.3602, allocations: 2.167 MB / 485.7 MB, free: 15.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.3602, allocations: 20 kB / 485.7 MB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.772e-05/0.3603, allocations: 35.98 kB / 485.7 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005757/0.3609, allocations: 222.4 kB / 486 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.362, allocations: 403.5 kB / 486.4 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.364, allocations: 1.744 MB / 488.1 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.3654, allocations: 139.7 kB / 488.2 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.3656, allocations: 92 kB / 488.3 MB, free: 13.11 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.0009378/0.3665, allocations: 0.5951 MB / 488.9 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.3668, allocations: 163 kB / 489.1 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.3689, allocations: 1.093 MB / 490.2 MB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.3689, allocations: 7.938 kB / 490.2 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-06/0.3689, allocations: 4 kB / 490.2 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.3689, allocations: 3.984 kB / 490.2 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004918/0.3738, allocations: 2.719 MB / 492.9 MB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3738, allocations: 0 / 492.9 MB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/0.3744, allocations: 131.9 kB / 493 MB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004793/0.3749, allocations: 162.4 kB / 493.2 MB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.3749, allocations: 12 kB / 493.2 MB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.3767, allocations: 1.682 MB / 494.9 MB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.3767, allocations: 8.109 kB / 494.9 MB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002912/0.3796, allocations: 1.65 MB / 496.6 MB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006909/0.3803, allocations: 226.9 kB / 496.8 MB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.3804, allocations: 12 kB / 496.8 MB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000709/0.3812, allocations: 56 kB / 496.8 MB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.3813, allocations: 52.34 kB / 496.9 MB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/0.3813, allocations: 16 kB / 496.9 MB, free: 4.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001644/0.383, allocations: 1.083 MB / 498 MB, free: 3.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.383, allocations: 0 / 498 MB, free: 3.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00138/0.3844, allocations: 367.9 kB / 498.3 MB, free: 2.805 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.0003442/0.3847, allocations: 165.7 kB / 498.5 MB, free: 2.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002637/0.3874, allocations: 1.416 MB / 499.9 MB, free: 1.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.3874, allocations: 4.625 kB / 499.9 MB, free: 1.207 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.3885, allocations: 0.5731 MB / 0.4888 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.3902, allocations: 411.8 kB / 0.4892 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005111/0.3953, allocations: 3.066 MB / 0.4922 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/0.3965, allocations: 1.457 MB / 0.4936 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.3969, allocations: 119.4 kB / 0.4937 GB, free: 11.5 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3969, allocations: 0 / 0.4937 GB, free: 11.5 MB / 414.1 MB Notification: Performance of Templates: time 0.2602/0.6571, allocations: 47.62 MB / 0.5402 GB, free: 103.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.873326875967905]