Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001752/0.001752, allocations: 71.75 kB / 21.24 MB, free: 404 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.002061/0.002061, 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.476/1.476, allocations: 177.2 MB / 204.9 MB, free: 9.051 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2205/0.2205, allocations: 34.27 MB / 295.5 MB, free: 14.61 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 68.08 kB / 443.1 MB, free: 6.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3046, allocations: 66.01 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001522/0.3061, allocations: 499.5 kB / 0.4977 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.3072, allocations: 0.7198 MB / 0.4984 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.365e-05/0.3072, allocations: 0 / 0.4984 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.187e-06/0.3072, allocations: 3.938 kB / 0.4984 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.53e-06/0.3072, allocations: 0 / 0.4984 GB, free: 29.1 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.001613/0.3089, allocations: 0.6452 MB / 0.499 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.029e-05/0.3089, allocations: 7.109 kB / 0.499 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.008e-05/0.3089, allocations: 0 / 0.499 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.175e-05/0.3089, allocations: 4 kB / 0.499 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.669e-05/0.309, allocations: 3.125 kB / 0.499 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.831e-06/0.309, allocations: 0 / 0.499 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006347/0.3096, allocations: 401.1 kB / 0.4994 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.3096, allocations: 7.922 kB / 0.4994 GB, free: 28.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.3096, allocations: 3.938 kB / 0.4994 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.31, allocations: 336.3 kB / 0.4997 GB, free: 28.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.31, allocations: 0 / 0.4997 GB, free: 28.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.31, allocations: 0 / 0.4997 GB, free: 28.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.31, allocations: 0 / 0.4997 GB, free: 28.57 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.0002629/0.3103, allocations: 321.5 kB / 0.5001 GB, free: 28.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.3103, allocations: 6.625 kB / 0.5001 GB, free: 28.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.3104, allocations: 4.375 kB / 0.5001 GB, free: 28.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.641e-05/0.3104, allocations: 110.5 kB / 0.5002 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3104, allocations: 4.312 kB / 0.5002 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.3104, allocations: 384 / 0.5002 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.616e-05/0.3105, allocations: 58.66 kB / 0.5002 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3105, allocations: 192 / 0.5002 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3105, allocations: 7.125 kB / 0.5002 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3105, allocations: 0 / 0.5002 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.06e-05/0.3105, allocations: 29.7 kB / 0.5003 GB, free: 28.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.208e-05/0.3106, allocations: 96.58 kB / 0.5004 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.483e-05/0.3107, allocations: 51.47 kB / 0.5004 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.3107, allocations: 33.89 kB / 0.5004 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.3107, allocations: 0 / 0.5004 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.3107, allocations: 59.67 kB / 0.5005 GB, free: 27.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.3107, allocations: 0 / 0.5005 GB, free: 27.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001396/0.3109, allocations: 120.6 kB / 0.5006 GB, free: 27.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.3109, allocations: 84.36 kB / 0.5007 GB, free: 27.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.059e-05/0.3109, allocations: 93.81 kB / 0.5008 GB, free: 27.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-06/0.3109, allocations: 29.83 kB / 0.5008 GB, free: 27.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.415e-06/0.3109, allocations: 80.14 kB / 0.5009 GB, free: 27.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.3109, allocations: 7.922 kB / 0.5009 GB, free: 27.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.3109, allocations: 12.97 kB / 0.5009 GB, free: 27.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.529e-05/0.311, allocations: 314.8 kB / 0.5012 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.311, allocations: 36.45 kB / 0.5012 GB, free: 26.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.277e-06/0.311, allocations: 25.7 kB / 0.5013 GB, free: 26.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.692e-05/0.311, allocations: 59.64 kB / 0.5013 GB, free: 26.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.311, allocations: 0 / 0.5013 GB, free: 26.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.887e-05/0.3111, allocations: 95.03 kB / 0.5014 GB, free: 26.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3111, allocations: 32.23 kB / 0.5014 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.3111, allocations: 0 / 0.5014 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3111, allocations: 0 / 0.5014 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/0.3111, allocations: 3.938 kB / 0.5014 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.3111, allocations: 11.08 kB / 0.5015 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.354e-05/0.3111, allocations: 0 / 0.5015 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3111, allocations: 0 / 0.5015 GB, free: 26.64 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 4.262e-05/0.3112, allocations: 138.3 kB / 0.5016 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/0.3112, allocations: 0 / 0.5016 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.095e-06/0.3112, allocations: 3.031 kB / 0.5016 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3112, allocations: 15.28 kB / 0.5016 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3112, allocations: 0 / 0.5016 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.3112, allocations: 0 / 0.5016 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.452e-05/0.3112, allocations: 93.33 kB / 0.5017 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.3112, allocations: 0 / 0.5017 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-06/0.3112, allocations: 6.812 kB / 0.5017 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.3112, allocations: 0 / 0.5017 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.3113, allocations: 4 kB / 0.5017 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3113, allocations: 0 / 0.5017 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3113, allocations: 3.938 kB / 0.5017 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.551e-05/0.3113, allocations: 120.7 kB / 0.5018 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-06/0.3113, allocations: 4 kB / 0.5018 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.3113, allocations: 3.188 kB / 0.5018 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-06/0.3113, allocations: 0 / 0.5018 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.028e-05/0.3114, allocations: 7.875 kB / 0.5018 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.3114, allocations: 3.984 kB / 0.5018 GB, free: 26.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.071e-05/0.3114, allocations: 78.5 kB / 0.5019 GB, free: 26.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3114, allocations: 0 / 0.5019 GB, free: 26.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.3117, allocations: 84.25 kB / 0.502 GB, free: 26.11 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.0003916/0.3121, allocations: 221.1 kB / 0.5022 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.093e-05/0.3121, allocations: 116.5 kB / 0.5023 GB, free: 25.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3121, allocations: 0 / 0.5023 GB, free: 25.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.013e-05/0.3122, allocations: 80.52 kB / 0.5024 GB, free: 25.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.3123, allocations: 3.125 kB / 0.5024 GB, free: 25.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001398/0.3124, allocations: 115 kB / 0.5025 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.392e-05/0.3124, allocations: 58.33 kB / 0.5026 GB, free: 25.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.729e-06/0.3124, allocations: 3.938 kB / 0.5026 GB, free: 25.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.06e-05/0.3125, allocations: 11.84 kB / 0.5026 GB, free: 25.54 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3125, allocations: 4 kB / 0.5026 GB, free: 25.53 MB / 446.1 MB Notification: Performance of Templates: time 0.004468/0.3169, allocations: 1.94 MB / 0.5045 GB, free: 25.35 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 4.953308685915545]