Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.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.001687/0.001687, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.002021/0.002021, allocations: 168.9 kB / 24.5 MB, free: 3.453 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.442/1.442, allocations: 177.2 MB / 204.9 MB, free: 9.055 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1993/0.1993, allocations: 32.81 MB / 294.1 MB, free: 92 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 74.39 kB / 440.5 MB, free: 9.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3934, allocations: 65.43 MB / 0.4941 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001419/0.3948, allocations: 0.4956 MB / 0.4946 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3959, allocations: 0.733 MB / 0.4953 GB, free: 30.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.309e-05/0.3959, allocations: 0 / 0.4953 GB, free: 30.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.495e-05/0.3959, allocations: 0 / 0.4953 GB, free: 30.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.541e-06/0.396, allocations: 0 / 0.4953 GB, free: 30.69 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.3974, allocations: 0.6354 MB / 0.4959 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.976e-05/0.3975, allocations: 7.375 kB / 0.4959 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.3975, allocations: 3.031 kB / 0.496 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.23e-05/0.3975, allocations: 7.922 kB / 0.496 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.784e-05/0.3976, allocations: 0 / 0.496 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.739e-06/0.3976, allocations: 0 / 0.496 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006384/0.3982, allocations: 407 kB / 0.4963 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.3982, allocations: 4 kB / 0.4964 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.3982, allocations: 3.984 kB / 0.4964 GB, free: 30.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.3986, allocations: 337.5 kB / 0.4967 GB, free: 30.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3986, allocations: 0 / 0.4967 GB, free: 30.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3986, allocations: 0 / 0.4967 GB, free: 30.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.3986, allocations: 7.094 kB / 0.4967 GB, free: 30.16 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003019/0.3989, allocations: 314 kB / 0.497 GB, free: 29.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.399, allocations: 9.469 kB / 0.497 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.399, allocations: 0.9375 kB / 0.497 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.828e-05/0.3991, allocations: 105.9 kB / 0.4971 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.3991, allocations: 384 / 0.4971 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.3991, allocations: 4.375 kB / 0.4971 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.351e-05/0.3992, allocations: 62.7 kB / 0.4972 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3992, allocations: 192 / 0.4972 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.3992, allocations: 3.938 kB / 0.4972 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3992, allocations: 3.938 kB / 0.4972 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.32e-05/0.3992, allocations: 28.89 kB / 0.4972 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.257e-05/0.3993, allocations: 97.33 kB / 0.4973 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.016e-05/0.3994, allocations: 43.53 kB / 0.4973 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.3994, allocations: 37.09 kB / 0.4974 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.3994, allocations: 0 / 0.4974 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.3994, allocations: 64.27 kB / 0.4974 GB, free: 29.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3994, allocations: 0 / 0.4974 GB, free: 29.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001635/0.3996, allocations: 123.8 kB / 0.4975 GB, free: 29.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.3996, allocations: 77.11 kB / 0.4976 GB, free: 29.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.611e-05/0.3996, allocations: 97.75 kB / 0.4977 GB, free: 28.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.172e-06/0.3996, allocations: 25.7 kB / 0.4977 GB, free: 28.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.099e-05/0.3996, allocations: 83.39 kB / 0.4978 GB, free: 28.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.3997, allocations: 4 kB / 0.4978 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.3997, allocations: 12.88 kB / 0.4978 GB, free: 28.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.057e-05/0.3997, allocations: 318.8 kB / 0.4981 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.3997, allocations: 33.39 kB / 0.4982 GB, free: 28.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-06/0.3998, allocations: 29.02 kB / 0.4982 GB, free: 28.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.728e-05/0.3998, allocations: 67.36 kB / 0.4983 GB, free: 28.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3998, allocations: 0 / 0.4983 GB, free: 28.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.848e-05/0.3999, allocations: 86.97 kB / 0.4983 GB, free: 28.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.3999, allocations: 31.86 kB / 0.4984 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3999, allocations: 0 / 0.4984 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.3999, allocations: 0 / 0.4984 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.014e-06/0.3999, allocations: 3.938 kB / 0.4984 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.3999, allocations: 4.094 kB / 0.4984 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.608e-05/0.3999, allocations: 3.125 kB / 0.4984 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3999, allocations: 0 / 0.4984 GB, free: 28.25 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.881e-05/0.4, allocations: 138.3 kB / 0.4985 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-06/0.4, allocations: 0 / 0.4985 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.139e-05/0.4, allocations: 7 kB / 0.4985 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4, allocations: 3.938 kB / 0.4985 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4, allocations: 0 / 0.4985 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.4, allocations: 3.188 kB / 0.4985 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.393e-05/0.4001, allocations: 93.33 kB / 0.4986 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4001, allocations: 0 / 0.4986 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-06/0.4001, allocations: 7.422 kB / 0.4986 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.4001, allocations: 3.094 kB / 0.4986 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.4001, allocations: 4 kB / 0.4986 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4001, allocations: 0 / 0.4986 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4001, allocations: 7.875 kB / 0.4986 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.255e-05/0.4002, allocations: 120.3 kB / 0.4988 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-06/0.4002, allocations: 0 / 0.4988 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.4002, allocations: 3.062 kB / 0.4988 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-06/0.4002, allocations: 0 / 0.4988 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.4002, allocations: 3.938 kB / 0.4988 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.4002, allocations: 4.031 kB / 0.4988 GB, free: 27.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.597e-05/0.4002, allocations: 78.44 kB / 0.4988 GB, free: 27.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4002, allocations: 0 / 0.4988 GB, free: 27.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003284/0.4006, allocations: 84.94 kB / 0.4989 GB, free: 27.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005398/0.4011, allocations: 229.8 kB / 0.4991 GB, free: 27.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.4012, allocations: 116.9 kB / 0.4992 GB, free: 27.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4012, allocations: 0 / 0.4992 GB, free: 27.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.613e-05/0.4013, allocations: 84.52 kB / 0.4993 GB, free: 27.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.4014, allocations: 3.219 kB / 0.4993 GB, free: 27.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002006/0.4016, allocations: 115 kB / 0.4994 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.372e-05/0.4016, allocations: 54.58 kB / 0.4995 GB, free: 27.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.073e-06/0.4016, allocations: 0 / 0.4995 GB, free: 27.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.467e-05/0.4016, allocations: 11.75 kB / 0.4995 GB, free: 27.14 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4016, allocations: 0 / 0.4995 GB, free: 27.14 MB / 446.1 MB Notification: Performance of Templates: time 0.005203/0.4068, allocations: 1.931 MB / 0.5014 GB, free: 26.96 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.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.014133875025436]