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.001664/0.001664, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001445/0.001445, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.427/1.427, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001558/0.001558, allocations: 43.94 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2246, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01085/0.2354, allocations: 8.085 MB / 440.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005425/0.2408, allocations: 2.972 MB / 443.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005621/0.2414, allocations: 51.69 kB / 443.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.2429, allocations: 0.6562 MB / 444.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.2446, allocations: 0.773 MB / 444.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005969/0.2451, allocations: 319.5 kB / 445.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002219/0.2474, allocations: 2.148 MB / 447.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.2485, allocations: 0.8354 MB / 448.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.2497, allocations: 0.9538 MB / 449.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.2511, allocations: 1.175 MB / 450.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003217/0.2515, allocations: 236 kB / 450.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005965/0.2521, allocations: 327.8 kB / 450.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007001/0.2528, allocations: 0.6933 MB / 451.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009463/0.2537, allocations: 0.8789 MB / 452.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003331/0.257, allocations: 3.176 MB / 455.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.257, allocations: 0 / 455.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.257, allocations: 0 / 455.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.219e-05/0.2571, allocations: 0 / 455.6 MB, free: 15.32 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.004365/0.2614, allocations: 2.278 MB / 457.9 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2615, allocations: 8.031 kB / 457.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000688/0.2622, allocations: 247.5 kB / 458.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/0.2645, allocations: 1.16 MB / 459.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.2646, allocations: 119.5 kB / 459.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/0.2649, allocations: 159.9 kB / 459.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003554/0.2684, allocations: 2.108 MB / 461.7 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.453e-05/0.2685, allocations: 11.89 kB / 461.7 MB, free: 9.086 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/0.2686, allocations: 60 kB / 461.7 MB, free: 9.027 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.704e-05/0.2687, allocations: 78.92 kB / 461.8 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002934/0.2716, allocations: 1.678 MB / 463.5 MB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009541/0.2812, allocations: 6.194 MB / 469.7 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008912/0.2821, allocations: 458.2 kB / 470.1 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004776/0.2826, allocations: 262 kB / 470.4 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/0.2827, allocations: 36.41 kB / 470.4 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.2828, allocations: 42.94 kB / 470.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.355e-06/0.2828, allocations: 0 / 470.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.00699/0.2898, allocations: 2.907 MB / 473.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.2898, allocations: 60.06 kB / 473.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/0.292, allocations: 1.539 MB / 475 MB, free: 11.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.796e-05/0.292, allocations: 37.7 kB / 475 MB, free: 11.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008542/0.2929, allocations: 1.071 MB / 476.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.2931, allocations: 250 kB / 476.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000457/0.2935, allocations: 319.3 kB / 476.6 MB, free: 9.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2937, allocations: 301.1 kB / 476.9 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009487/0.2946, allocations: 0.5231 MB / 477.5 MB, free: 8.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.2963, allocations: 1.454 MB / 478.9 MB, free: 6.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/0.2992, allocations: 2.136 MB / 481 MB, free: 4.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/0.2992, allocations: 8 kB / 481.1 MB, free: 4.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003708/0.3029, allocations: 2.155 MB / 483.2 MB, free: 2.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.3029, allocations: 20 kB / 483.2 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.415e-05/0.303, allocations: 32 kB / 483.3 MB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/0.3036, allocations: 235.1 kB / 483.5 MB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.3048, allocations: 395.3 kB / 483.9 MB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.3067, allocations: 1.705 MB / 485.6 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.3079, allocations: 151.7 kB / 485.7 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.308, allocations: 96 kB / 485.8 MB, free: 15.47 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.0008108/0.3088, allocations: 0.5867 MB / 486.4 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.309, allocations: 147 kB / 486.6 MB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.3111, allocations: 1.092 MB / 487.6 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.3111, allocations: 11.98 kB / 487.7 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.3112, allocations: 0 / 487.7 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3112, allocations: 0 / 487.7 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004499/0.3157, allocations: 2.38 MB / 490 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3157, allocations: 4 kB / 490 MB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/0.3162, allocations: 123.8 kB / 490.2 MB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004683/0.3167, allocations: 166.6 kB / 490.3 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.3167, allocations: 19.94 kB / 490.3 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/0.3184, allocations: 1.663 MB / 492 MB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3184, allocations: 4 kB / 492 MB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/0.3211, allocations: 1.626 MB / 493.6 MB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000539/0.3216, allocations: 218.9 kB / 493.9 MB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.3218, allocations: 12 kB / 493.9 MB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006728/0.3225, allocations: 56 kB / 493.9 MB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.3226, allocations: 56.28 kB / 494 MB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.3226, allocations: 16 kB / 494 MB, free: 7.027 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001412/0.3241, allocations: 0.9778 MB / 495 MB, free: 6.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3241, allocations: 0 / 495 MB, free: 6.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001311/0.3254, allocations: 359.9 kB / 495.3 MB, free: 5.699 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.000299/0.3257, allocations: 163 kB / 495.5 MB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002553/0.3282, allocations: 1.424 MB / 496.9 MB, free: 4.098 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3282, allocations: 0 / 496.9 MB, free: 4.098 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.3293, allocations: 0.5815 MB / 497.5 MB, free: 3.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.3308, allocations: 358.3 kB / 497.8 MB, free: 3.156 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004655/0.3355, allocations: 2.99 MB / 0.4891 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.3365, allocations: 0.8895 MB / 0.49 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008802/0.3374, allocations: 337 kB / 0.4903 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.3377, allocations: 103.4 kB / 0.4904 GB, free: 14.75 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3377, allocations: 0 / 0.4904 GB, free: 14.75 MB / 414.1 MB Notification: Performance of Templates: time 0.03704/0.3747, allocations: 21.64 MB / 0.5115 GB, free: 9.477 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 -s gbode -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: 4.920762783993268]