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.001734/0.001734, allocations: 111.5 kB / 18.46 MB, free: 4.691 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.00204/0.00204, allocations: 212.3 kB / 21.42 MB, free: 1.738 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.477/1.477, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.001496/0.001496, allocations: 51.92 kB / 374.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1088, allocations: 53.33 MB / 427.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.2161/0.3249, allocations: 9.148 MB / 436.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006133/0.331, allocations: 3.189 MB / 439.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/0.3328, allocations: 56.72 kB / 439.9 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002418/0.3352, allocations: 0.7223 MB / 440.6 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003318/0.3385, allocations: 0.7538 MB / 441.4 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.3397, allocations: 314.1 kB / 441.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003228/0.3429, allocations: 2.152 MB / 443.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.3447, allocations: 1.025 MB / 444.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002224/0.3469, allocations: 0.9517 MB / 445.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/0.3494, allocations: 1.175 MB / 447 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008171/0.3502, allocations: 231.8 kB / 447.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.3516, allocations: 335.8 kB / 447.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008486/0.3524, allocations: 0.6897 MB / 448.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001361/0.3538, allocations: 1.091 MB / 449.3 MB, free: 316 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004538/0.3583, allocations: 3.149 MB / 452.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.3583, allocations: 0 / 452.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3583, allocations: 1.188 kB / 452.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.709e-05/0.3584, allocations: 4 kB / 452.5 MB, free: 15.18 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.006114/0.3645, allocations: 2.35 MB / 454.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.3646, allocations: 8.938 kB / 454.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008701/0.3655, allocations: 246.7 kB / 455.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.368, allocations: 1.251 MB / 456.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.3682, allocations: 113.5 kB / 456.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002689/0.3684, allocations: 152.3 kB / 456.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004029/0.3725, allocations: 2.029 MB / 458.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.727e-05/0.3725, allocations: 15.19 kB / 458.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.3727, allocations: 65.73 kB / 458.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.3728, allocations: 75.91 kB / 458.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00325/0.376, allocations: 1.685 MB / 460.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01267/0.3887, allocations: 7.057 MB / 467.5 MB, free: 4.863 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009373/0.3896, allocations: 451.4 kB / 467.9 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004779/0.3901, allocations: 260.6 kB / 468.2 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.3903, allocations: 111.1 kB / 468.3 MB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.3904, allocations: 37.69 kB / 468.3 MB, free: 4.379 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.585e-06/0.3904, allocations: 0.8438 kB / 468.3 MB, free: 4.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.007556/0.3979, allocations: 3.064 MB / 471.4 MB, free: 2.602 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.398, allocations: 58.62 kB / 471.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/0.401, allocations: 1.632 MB / 473.1 MB, free: 1.652 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.902e-05/0.401, allocations: 36.45 kB / 473.1 MB, free: 1.613 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009924/0.402, allocations: 1.066 MB / 474.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002558/0.4023, allocations: 244 kB / 474.4 MB, free: 464 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005174/0.4028, allocations: 327.8 kB / 474.8 MB, free: 264 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.403, allocations: 307 kB / 475.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.404, allocations: 0.5255 MB / 475.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/0.4059, allocations: 1.455 MB / 477 MB, free: 13.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003008/0.4089, allocations: 2.134 MB / 479.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.399e-05/0.4089, allocations: 12 kB / 479.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004338/0.4132, allocations: 2.165 MB / 481.3 MB, free: 9.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.4133, allocations: 16 kB / 481.4 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.981e-05/0.4133, allocations: 38.5 kB / 481.4 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006909/0.414, allocations: 230.4 kB / 481.6 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.4153, allocations: 399.4 kB / 482 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/0.4175, allocations: 1.848 MB / 483.9 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.4194, allocations: 143.7 kB / 484 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002156/0.4197, allocations: 95.94 kB / 484.1 MB, free: 6.234 MB / 382.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.001207/0.4209, allocations: 0.5983 MB / 484.7 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004605/0.4213, allocations: 163 kB / 484.8 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.4238, allocations: 1.084 MB / 485.9 MB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.4238, allocations: 11.94 kB / 485.9 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.4238, allocations: 3 kB / 485.9 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.4238, allocations: 3.984 kB / 486 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005854/0.4297, allocations: 2.746 MB / 488.7 MB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.4297, allocations: 7.938 kB / 488.7 MB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/0.4302, allocations: 119.8 kB / 488.8 MB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004806/0.4307, allocations: 170.6 kB / 489 MB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.135e-05/0.4308, allocations: 15.94 kB / 489 MB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.4327, allocations: 1.777 MB / 490.8 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4327, allocations: 7.969 kB / 490.8 MB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00303/0.4357, allocations: 1.64 MB / 492.4 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008286/0.4366, allocations: 308 kB / 492.7 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003607/0.4369, allocations: 12 kB / 492.7 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008863/0.4378, allocations: 55.88 kB / 492.8 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.438, allocations: 52.44 kB / 492.8 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-05/0.438, allocations: 27.98 kB / 492.9 MB, free: 13.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002146/0.4402, allocations: 1.079 MB / 494 MB, free: 12.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4402, allocations: 0 / 494 MB, free: 12.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001806/0.442, allocations: 359.9 kB / 494.3 MB, free: 11.7 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.000398/0.4424, allocations: 171.7 kB / 494.5 MB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003163/0.4455, allocations: 1.575 MB / 496 MB, free: 9.898 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4455, allocations: 0 / 496 MB, free: 9.898 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.4468, allocations: 0.7247 MB / 496.8 MB, free: 9.121 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.4489, allocations: 410.7 kB / 497.2 MB, free: 8.746 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00603/0.4549, allocations: 3.066 MB / 0.4885 GB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001646/0.4565, allocations: 1.455 MB / 0.4899 GB, free: 4.133 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004302/0.457, allocations: 119.4 kB / 0.4901 GB, free: 4.02 MB / 398.1 MB Notification: Performance of SimCode: time 7.42e-07/0.457, allocations: 0 / 0.4901 GB, free: 4.02 MB / 398.1 MB Notification: Performance of Templates: time 0.08305/0.54, allocations: 47.62 MB / 0.5366 GB, free: 4.449 MB / 446.1 MB " [Timeout remaining time 659] 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/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_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: 11.73112491198117]