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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.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(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 108.4 kB / 17.98 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 193.3 kB / 18.9 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 242.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2019/0.2019, allocations: 44.17 MB / 336.9 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 65.03 kB / 408.5 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1066, allocations: 60.82 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001883/0.1085, allocations: 0.5528 MB / 469.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.1098, allocations: 0.759 MB / 470.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.685e-05/0.1099, allocations: 0 / 470.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.1099, allocations: 0 / 470.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.478e-06/0.1099, allocations: 0 / 470.7 MB, free: 13.41 MB / 350.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.001644/0.1116, allocations: 0.5489 MB / 471.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.593e-05/0.1116, allocations: 7.984 kB / 471.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.026e-05/0.1117, allocations: 3.938 kB / 471.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.723e-05/0.1117, allocations: 11.94 kB / 471.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.595e-05/0.1117, allocations: 0 / 471.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.36e-06/0.1117, allocations: 0 / 471.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005992/0.1123, allocations: 367.3 kB / 471.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.285e-06/0.1124, allocations: 3.938 kB / 471.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.1124, allocations: 3.984 kB / 471.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.1128, allocations: 235.6 kB / 471.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1128, allocations: 4 kB / 471.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1128, allocations: 0 / 471.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1128, allocations: 0 / 471.8 MB, free: 12.24 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003724/0.1132, allocations: 393.2 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1132, allocations: 8.031 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.1132, allocations: 0.9375 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.338e-05/0.1133, allocations: 160.4 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1133, allocations: 384 / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.1134, allocations: 4.375 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.734e-05/0.1134, allocations: 26.27 kB / 472.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.441e-06/0.1135, allocations: 192 / 472.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1135, allocations: 11.92 kB / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1135, allocations: 0 / 472.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.1135, allocations: 7.938 kB / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.1136, allocations: 145.7 kB / 472.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.8e-05/0.1137, allocations: 18.61 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.378e-05/0.1137, allocations: 4.859 kB / 472.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/0.1137, allocations: 0 / 472.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.1138, allocations: 60.27 kB / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.392e-06/0.1138, allocations: 0 / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001726/0.1139, allocations: 75.33 kB / 472.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.114, allocations: 77.11 kB / 472.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.823e-05/0.114, allocations: 89.86 kB / 472.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1141, allocations: 29.7 kB / 472.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.1141, allocations: 80.14 kB / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.1141, allocations: 0 / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.1142, allocations: 13.83 kB / 473 MB, free: 10.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1143, allocations: 318.8 kB / 473.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/0.1143, allocations: 4 kB / 473.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-06/0.1143, allocations: 0 / 473.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.791e-05/0.1144, allocations: 64.27 kB / 473.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1144, allocations: 0 / 473.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.925e-05/0.1145, allocations: 67.33 kB / 473.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.1145, allocations: 32.2 kB / 473.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1145, allocations: 4.094 kB / 473.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1145, allocations: 11.81 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.1145, allocations: 0 / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.1145, allocations: 0 / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.1146, allocations: 4 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.1146, allocations: 0 / 473.5 MB, free: 10.29 MB / 350.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 8.145e-05/0.1147, allocations: 135.5 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.1147, allocations: 4 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.348e-05/0.1147, allocations: 11.05 kB / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1147, allocations: 4 kB / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1147, allocations: 0 / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1147, allocations: 0 / 473.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.1148, allocations: 141.7 kB / 473.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1149, allocations: 4 kB / 473.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.1149, allocations: 0 / 473.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1149, allocations: 0 / 473.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1149, allocations: 7.922 kB / 473.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1149, allocations: 3.984 kB / 473.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1149, allocations: 0 / 473.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.115, allocations: 94.78 kB / 473.9 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.1151, allocations: 81.02 kB / 474 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.1151, allocations: 7.922 kB / 474 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-06/0.1151, allocations: 0 / 474 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.738e-05/0.1151, allocations: 4 kB / 474 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.1151, allocations: 0 / 474 MB, free: 9.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.467e-05/0.1151, allocations: 75.28 kB / 474.1 MB, free: 9.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1152, allocations: 0 / 474.1 MB, free: 9.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003537/0.1155, allocations: 84.02 kB / 474.2 MB, free: 9.535 MB / 350.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.0005829/0.1161, allocations: 225 kB / 474.4 MB, free: 9.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.1162, allocations: 63.34 kB / 474.4 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1162, allocations: 0 / 474.4 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.1163, allocations: 63.33 kB / 474.5 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.1165, allocations: 0 / 474.5 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002016/0.1167, allocations: 110.8 kB / 474.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1169, allocations: 0.669 MB / 475.3 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.117, allocations: 7.438 kB / 475.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.117, allocations: 0 / 475.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of Templates: time 0.005024/0.122, allocations: 1.717 MB / 477 MB, free: 6.602 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe 2>&1) 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) Reference file matches