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.001561/0.001561, allocations: 116 kB / 20.43 MB, free: 1.457 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.001652/0.001652, allocations: 209.3 kB / 23.74 MB, free: 4.672 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.001592/0.001592, allocations: 55.86 kB / 378.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.287, allocations: 53.36 MB / 431.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01337/0.3003, allocations: 9.202 MB / 440.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007327/0.3077, allocations: 3.194 MB / 444 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007672/0.3084, allocations: 59.62 kB / 444.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.3101, allocations: 0.7221 MB / 444.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.312, allocations: 0.7691 MB / 445.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007018/0.3127, allocations: 331.3 kB / 445.9 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002501/0.3152, allocations: 2.144 MB / 448.1 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.3164, allocations: 0.8325 MB / 448.9 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.3176, allocations: 0.9576 MB / 449.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.3192, allocations: 1.171 MB / 451 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003179/0.3195, allocations: 232 kB / 451.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006211/0.3201, allocations: 331.8 kB / 451.6 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007475/0.3209, allocations: 0.6933 MB / 452.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.322, allocations: 1.093 MB / 453.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003489/0.3255, allocations: 3.149 MB / 456.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3255, allocations: 4 kB / 456.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3255, allocations: 0 / 456.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.697e-05/0.3255, allocations: 0 / 456.5 MB, free: 13.92 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.004346/0.3299, allocations: 2.286 MB / 458.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3299, allocations: 8.031 kB / 458.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006502/0.3306, allocations: 243.5 kB / 459 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.3327, allocations: 1.16 MB / 460.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.3328, allocations: 119.5 kB / 460.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/0.333, allocations: 163.9 kB / 460.5 MB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003338/0.3364, allocations: 2.029 MB / 462.5 MB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.184e-05/0.3364, allocations: 15.94 kB / 462.5 MB, free: 7.773 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/0.3366, allocations: 60 kB / 462.6 MB, free: 7.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.547e-05/0.3367, allocations: 78.92 kB / 462.6 MB, free: 7.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002919/0.3396, allocations: 1.682 MB / 464.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/0.3499, allocations: 6.918 MB / 471.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008643/0.3508, allocations: 448.5 kB / 471.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004551/0.3513, allocations: 266.6 kB / 471.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.3515, allocations: 44.27 kB / 472 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.3515, allocations: 42.94 kB / 472 MB, free: 13.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.325e-06/0.3515, allocations: 0 / 472 MB, free: 13.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.007168/0.3587, allocations: 2.907 MB / 474.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.3587, allocations: 60.06 kB / 475 MB, free: 10.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002694/0.3614, allocations: 1.636 MB / 476.6 MB, free: 9.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.418e-05/0.3615, allocations: 33.7 kB / 476.7 MB, free: 9.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008666/0.3623, allocations: 1.072 MB / 477.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.3625, allocations: 246 kB / 478 MB, free: 7.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004308/0.363, allocations: 323.3 kB / 478.3 MB, free: 7.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3631, allocations: 301.1 kB / 478.6 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000928/0.364, allocations: 0.5309 MB / 479.1 MB, free: 6.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.3658, allocations: 1.45 MB / 480.6 MB, free: 4.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00303/0.3688, allocations: 2.14 MB / 482.7 MB, free: 2.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.62e-05/0.3688, allocations: 8 kB / 482.7 MB, free: 2.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004476/0.3733, allocations: 2.164 MB / 484.9 MB, free: 32 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.3733, allocations: 24.03 kB / 484.9 MB, free: 8 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.487e-05/0.3734, allocations: 36.03 kB / 484.9 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006949/0.3741, allocations: 222.4 kB / 485.2 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.3755, allocations: 399.3 kB / 485.5 MB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.3777, allocations: 1.752 MB / 487.3 MB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.3793, allocations: 139.7 kB / 487.4 MB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.3795, allocations: 92 kB / 487.5 MB, free: 13.26 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.001183/0.3807, allocations: 0.5906 MB / 488.1 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004101/0.3811, allocations: 163 kB / 488.3 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/0.3834, allocations: 1.089 MB / 489.4 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.3834, allocations: 12 kB / 489.4 MB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3834, allocations: 0 / 489.4 MB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.3834, allocations: 3.984 kB / 489.4 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006023/0.3895, allocations: 2.723 MB / 492.1 MB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.3895, allocations: 4 kB / 492.1 MB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/0.39, allocations: 115.8 kB / 492.2 MB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004905/0.3905, allocations: 174.5 kB / 492.4 MB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/0.3906, allocations: 12 kB / 492.4 MB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/0.3929, allocations: 1.686 MB / 494.1 MB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.3929, allocations: 8.109 kB / 494.1 MB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/0.3958, allocations: 1.647 MB / 495.7 MB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008761/0.3967, allocations: 234.9 kB / 496 MB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004278/0.3971, allocations: 16 kB / 496 MB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009259/0.3981, allocations: 47.94 kB / 496 MB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.3982, allocations: 56.41 kB / 496.1 MB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.3983, allocations: 20 kB / 496.1 MB, free: 4.383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002187/0.4005, allocations: 1.079 MB / 497.2 MB, free: 3.309 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4005, allocations: 0 / 497.2 MB, free: 3.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001925/0.4024, allocations: 363.9 kB / 497.5 MB, free: 2.953 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.0003875/0.4028, allocations: 164.7 kB / 497.7 MB, free: 2.785 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003056/0.4058, allocations: 1.421 MB / 499.1 MB, free: 1.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.4058, allocations: 3.938 kB / 499.1 MB, free: 1.352 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.407, allocations: 0.5775 MB / 499.7 MB, free: 0.7578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.4089, allocations: 405.9 kB / 0.4884 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006414/0.4153, allocations: 3.01 MB / 0.4913 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/0.417, allocations: 1.469 MB / 0.4928 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001086/0.4181, allocations: 350 kB / 0.4931 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.4184, allocations: 115.4 kB / 0.4932 GB, free: 11.35 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4184, allocations: 3.938 kB / 0.4932 GB, free: 11.35 MB / 414.1 MB Notification: Performance of Templates: time 0.0459/0.4643, allocations: 21.29 MB / 0.514 GB, free: 6.266 MB / 430.1 MB " [Timeout remaining time 660] 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.2049736839253455]