Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 110.9 kB / 19.03 MB, free: 3.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 194 kB / 22.22 MB, free: 228 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 51.89 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2493, allocations: 52.15 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01157/0.2608, allocations: 9.077 MB / 430 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006463/0.2673, allocations: 3.174 MB / 433.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.2684, allocations: 43.81 kB / 433.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001907/0.2703, allocations: 0.7183 MB / 433.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001962/0.2722, allocations: 0.7379 MB / 434.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007641/0.273, allocations: 331.4 kB / 434.9 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002479/0.2755, allocations: 2.101 MB / 437.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.2767, allocations: 0.828 MB / 437.9 MB, free: 14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.278, allocations: 0.9187 MB / 438.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.2795, allocations: 1.156 MB / 440 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000329/0.2798, allocations: 232 kB / 440.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000654/0.2805, allocations: 323.8 kB / 440.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007436/0.2812, allocations: 0.6932 MB / 441.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.2824, allocations: 1.073 MB / 442.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003366/0.2857, allocations: 3.121 MB / 445.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2857, allocations: 0 / 445.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2857, allocations: 0 / 445.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.036e-05/0.2858, allocations: 0 / 445.4 MB, free: 6.465 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.004371/0.2902, allocations: 2.314 MB / 447.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2902, allocations: 8.031 kB / 447.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006259/0.2908, allocations: 239.5 kB / 447.9 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.2928, allocations: 1.236 MB / 449.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.2929, allocations: 115.2 kB / 449.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.2932, allocations: 152 kB / 449.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/0.2965, allocations: 2.004 MB / 451.4 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.036e-05/0.2965, allocations: 11.89 kB / 451.5 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.2967, allocations: 64 kB / 451.5 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.074e-05/0.2968, allocations: 78.91 kB / 451.6 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002877/0.2996, allocations: 1.647 MB / 453.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009788/0.3094, allocations: 6.911 MB / 460.2 MB, free: 7.195 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008009/0.3102, allocations: 425.1 kB / 460.6 MB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/0.3106, allocations: 254 kB / 460.8 MB, free: 6.516 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002442/0.3109, allocations: 113.5 kB / 460.9 MB, free: 6.387 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.3109, allocations: 39 kB / 461 MB, free: 6.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 2.114e-06/0.3109, allocations: 0 / 461 MB, free: 6.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.007077/0.318, allocations: 3.317 MB / 464.3 MB, free: 2.949 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002659/0.3206, allocations: 2.333 MB / 466.6 MB, free: 460 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/0.3231, allocations: 1.623 MB / 468.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.136e-05/0.3231, allocations: 37.7 kB / 468.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008442/0.324, allocations: 1.049 MB / 469.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.3242, allocations: 250 kB / 469.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004852/0.3247, allocations: 323.3 kB / 469.9 MB, free: 13.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3248, allocations: 305.1 kB / 470.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008291/0.3256, allocations: 0.5153 MB / 470.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.3273, allocations: 1.468 MB / 472.2 MB, free: 10.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002606/0.3299, allocations: 2.138 MB / 474.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/0.3299, allocations: 12 kB / 474.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003702/0.3336, allocations: 2.166 MB / 476.5 MB, free: 5.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.3336, allocations: 20 kB / 476.5 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.463e-05/0.3337, allocations: 40 kB / 476.5 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/0.3343, allocations: 226.8 kB / 476.8 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.3355, allocations: 395.2 kB / 477.1 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.3374, allocations: 1.843 MB / 479 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.3387, allocations: 135.7 kB / 479.1 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.3388, allocations: 99.98 kB / 479.2 MB, free: 2.703 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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.0009335/0.3397, allocations: 0.5937 MB / 479.8 MB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.34, allocations: 159 kB / 480 MB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.342, allocations: 1.11 MB / 481.1 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.342, allocations: 12.23 kB / 481.1 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.342, allocations: 0 / 481.1 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.342, allocations: 3.984 kB / 481.1 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005417/0.3474, allocations: 3.39 MB / 484.5 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.3474, allocations: 4 kB / 484.5 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004481/0.3479, allocations: 116.5 kB / 484.6 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006279/0.3485, allocations: 230.3 kB / 484.8 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.467e-05/0.3486, allocations: 16 kB / 484.8 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00423/0.3528, allocations: 4.05 MB / 488.9 MB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002211/0.355, allocations: 2.173 MB / 491.1 MB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/0.3577, allocations: 1.748 MB / 492.8 MB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005571/0.3582, allocations: 319.9 kB / 493.1 MB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.3584, allocations: 16 kB / 493.1 MB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006523/0.3591, allocations: 52 kB / 493.2 MB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.3592, allocations: 63.89 kB / 493.3 MB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/0.3592, allocations: 24 kB / 493.3 MB, free: 3.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00159/0.3608, allocations: 1.07 MB / 494.3 MB, free: 2.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3608, allocations: 4 kB / 494.4 MB, free: 2.828 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001585/0.3624, allocations: 383.9 kB / 494.7 MB, free: 2.453 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003168/0.3627, allocations: 178.3 kB / 494.9 MB, free: 2.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002377/0.3651, allocations: 1.559 MB / 496.5 MB, free: 0.668 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3651, allocations: 0 / 496.5 MB, free: 0.668 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.3665, allocations: 0.832 MB / 497.3 MB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.3682, allocations: 405.1 kB / 497.7 MB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005112/0.3733, allocations: 3.247 MB / 0.4892 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/0.3747, allocations: 1.469 MB / 0.4906 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009442/0.3756, allocations: 354 kB / 0.491 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.3759, allocations: 111.4 kB / 0.4911 GB, free: 10.08 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3759, allocations: 0 / 0.4911 GB, free: 10.08 MB / 414.1 MB Notification: Performance of Templates: time 0.03842/0.4143, allocations: 21.53 MB / 0.5121 GB, free: 4.75 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.031389351002872]