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.001434/0.001434, 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 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.001946/0.001946, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.463/1.463, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.00176/0.00176, allocations: 51.91 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2618, allocations: 53.37 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01087/0.2727, allocations: 8.085 MB / 440.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005901/0.2786, allocations: 2.98 MB / 443.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008166/0.2794, allocations: 51.69 kB / 443.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.281, allocations: 0.6561 MB / 444.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.2827, allocations: 0.7652 MB / 444.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006045/0.2833, allocations: 319.5 kB / 445.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002122/0.2855, allocations: 2.14 MB / 447.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.2866, allocations: 0.7963 MB / 448.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.2877, allocations: 0.9615 MB / 449.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.2891, allocations: 1.089 MB / 450.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003313/0.2895, allocations: 232 kB / 450.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005954/0.2901, allocations: 323.8 kB / 450.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007026/0.2908, allocations: 0.6933 MB / 451.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009121/0.2917, allocations: 0.8828 MB / 452.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003226/0.2949, allocations: 3.176 MB / 455.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2949, allocations: 0 / 455.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2949, allocations: 0 / 455.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.627e-05/0.2949, allocations: 0 / 455.5 MB, free: 15.43 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.004131/0.2991, allocations: 2.282 MB / 457.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.2991, allocations: 8.031 kB / 457.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006099/0.2997, allocations: 239.6 kB / 458 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/0.3021, allocations: 1.172 MB / 459.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.3022, allocations: 119.5 kB / 459.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/0.3024, allocations: 155.9 kB / 459.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003363/0.3058, allocations: 2.1 MB / 461.5 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.875e-05/0.3058, allocations: 15.94 kB / 461.6 MB, free: 9.199 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.3059, allocations: 60 kB / 461.6 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.382e-05/0.306, allocations: 74.94 kB / 461.7 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002873/0.3089, allocations: 1.682 MB / 463.4 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008887/0.3178, allocations: 6.202 MB / 469.6 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008452/0.3186, allocations: 454.3 kB / 470 MB, free: 416 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004424/0.3191, allocations: 262 kB / 470.3 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/0.3192, allocations: 40.34 kB / 470.3 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.3193, allocations: 42.98 kB / 470.3 MB, free: 60 kB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.044e-06/0.3193, allocations: 0 / 470.3 MB, free: 60 kB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.006546/0.3258, allocations: 2.899 MB / 473.2 MB, free: 13.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.3259, allocations: 64 kB / 473.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.328, allocations: 1.536 MB / 474.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.2e-05/0.328, allocations: 37.7 kB / 474.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008236/0.3288, allocations: 1.071 MB / 476 MB, free: 10.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.329, allocations: 250 kB / 476.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004158/0.3295, allocations: 323.4 kB / 476.5 MB, free: 9.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.3296, allocations: 301.1 kB / 476.8 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009131/0.3305, allocations: 0.5269 MB / 477.3 MB, free: 8.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.3322, allocations: 1.45 MB / 478.8 MB, free: 7.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002785/0.335, allocations: 2.136 MB / 480.9 MB, free: 4.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/0.335, allocations: 8 kB / 480.9 MB, free: 4.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003876/0.3389, allocations: 2.159 MB / 483.1 MB, free: 2.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.3389, allocations: 20 kB / 483.1 MB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-05/0.3389, allocations: 32 kB / 483.1 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000566/0.3395, allocations: 227.1 kB / 483.4 MB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.3407, allocations: 403.2 kB / 483.8 MB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/0.3426, allocations: 1.709 MB / 485.5 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.3439, allocations: 147.7 kB / 485.6 MB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.344, allocations: 95.98 kB / 485.7 MB, free: 15.58 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.0008717/0.3449, allocations: 0.5945 MB / 486.3 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.3451, allocations: 147 kB / 486.4 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.3471, allocations: 1.084 MB / 487.5 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3471, allocations: 4 kB / 487.5 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3471, allocations: 4 kB / 487.5 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.3471, allocations: 3.984 kB / 487.5 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004388/0.3515, allocations: 2.376 MB / 489.9 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3515, allocations: 0 / 489.9 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005195/0.352, allocations: 127.8 kB / 490 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004393/0.3525, allocations: 166.6 kB / 490.2 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/0.3525, allocations: 15.94 kB / 490.2 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.3542, allocations: 1.659 MB / 491.9 MB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3542, allocations: 0 / 491.9 MB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/0.357, allocations: 1.634 MB / 493.5 MB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006008/0.3576, allocations: 222.9 kB / 493.7 MB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.3578, allocations: 12 kB / 493.7 MB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006422/0.3584, allocations: 55.98 kB / 493.8 MB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.3585, allocations: 48.42 kB / 493.8 MB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.3586, allocations: 19.98 kB / 493.9 MB, free: 7.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001497/0.3601, allocations: 0.9817 MB / 494.8 MB, free: 6.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3601, allocations: 0 / 494.8 MB, free: 6.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001361/0.3614, allocations: 359.9 kB / 495.2 MB, free: 5.809 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.0003163/0.3617, allocations: 175.1 kB / 495.4 MB, free: 5.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002731/0.3645, allocations: 1.417 MB / 496.8 MB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.3645, allocations: 0 / 496.8 MB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.3656, allocations: 0.5814 MB / 497.4 MB, free: 3.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.3672, allocations: 365.1 kB / 497.7 MB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005014/0.3722, allocations: 3.047 MB / 0.489 GB, free: 160 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/0.3732, allocations: 0.8699 MB / 0.4899 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/0.3736, allocations: 115.4 kB / 0.49 GB, free: 15.14 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3736, allocations: 0 / 0.49 GB, free: 15.14 MB / 414.1 MB Notification: Performance of Templates: time 0.2446/0.6182, allocations: 47.3 MB / 0.5362 GB, free: 105.6 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.337639945093542]