Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 105.3 kB / 16.4 MB, free: 6.457 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.001091/0.001091, allocations: 189.5 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2118/0.2118, allocations: 43.53 MB / 314.1 MB, free: 432 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 69.45 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1209, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001898/0.1229, allocations: 0.5027 MB / 0.4884 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002948/0.1259, allocations: 1.968 MB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.653e-05/0.1259, allocations: 0 / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.157e-05/0.1259, allocations: 0 / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.144e-06/0.126, allocations: 4 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.1282, allocations: 0.7122 MB / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.933e-05/0.1282, allocations: 3.984 kB / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.1283, allocations: 0 / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.545e-05/0.1283, allocations: 0 / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.769e-05/0.1283, allocations: 11.94 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.169e-06/0.1283, allocations: 0 / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.1294, allocations: 0.6629 MB / 0.4916 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.664e-06/0.1294, allocations: 0 / 0.4916 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.1294, allocations: 0 / 0.4916 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006893/0.1301, allocations: 0.5689 MB / 0.4922 GB, free: 7.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1301, allocations: 0 / 0.4922 GB, free: 7.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1302, allocations: 0 / 0.4922 GB, free: 7.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1302, allocations: 0 / 0.4922 GB, free: 7.332 MB / 382.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.000465/0.1306, allocations: 404.6 kB / 0.4926 GB, free: 6.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1307, allocations: 19.89 kB / 0.4926 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.1307, allocations: 0.9375 kB / 0.4926 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.445e-05/0.1308, allocations: 164.4 kB / 0.4928 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.1308, allocations: 384 / 0.4928 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.1308, allocations: 384 / 0.4928 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.21e-05/0.1309, allocations: 38 kB / 0.4928 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1309, allocations: 0 / 0.4928 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.131, allocations: 0 / 0.4928 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.131, allocations: 0 / 0.4928 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.731e-05/0.131, allocations: 7.938 kB / 0.4928 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.1311, allocations: 149.7 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.648e-05/0.1312, allocations: 18.56 kB / 0.493 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.281e-05/0.1312, allocations: 4.859 kB / 0.493 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-06/0.1312, allocations: 4.094 kB / 0.493 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/0.1313, allocations: 60.2 kB / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.1313, allocations: 3.938 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001648/0.1314, allocations: 75.33 kB / 0.4931 GB, free: 6.215 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.1315, allocations: 77.11 kB / 0.4932 GB, free: 6.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.921e-05/0.1315, allocations: 89.86 kB / 0.4933 GB, free: 6.023 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1316, allocations: 25.7 kB / 0.4933 GB, free: 5.992 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.719e-05/0.1316, allocations: 84.08 kB / 0.4934 GB, free: 5.906 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.1316, allocations: 0 / 0.4934 GB, free: 5.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.1316, allocations: 13.72 kB / 0.4934 GB, free: 5.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1318, allocations: 315 kB / 0.4937 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.999e-06/0.1318, allocations: 4 kB / 0.4937 GB, free: 5.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-06/0.1318, allocations: 4 kB / 0.4937 GB, free: 5.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.927e-05/0.1319, allocations: 60.25 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1319, allocations: 0 / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.055e-05/0.1319, allocations: 63.34 kB / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/0.132, allocations: 41.64 kB / 0.4938 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.132, allocations: 0 / 0.4938 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.132, allocations: 0 / 0.4938 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-06/0.132, allocations: 8.094 kB / 0.4939 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.132, allocations: 3.984 kB / 0.4939 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.345e-05/0.132, allocations: 0 / 0.4939 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1321, allocations: 3.984 kB / 0.4939 GB, free: 5.352 MB / 382.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 7.546e-05/0.1321, allocations: 139.5 kB / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.1322, allocations: 3.938 kB / 0.494 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.048e-05/0.1322, allocations: 3.125 kB / 0.494 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1322, allocations: 0 / 0.494 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1322, allocations: 4 kB / 0.494 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1322, allocations: 4 kB / 0.494 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.272e-05/0.1323, allocations: 145.7 kB / 0.4941 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1323, allocations: 0 / 0.4941 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1323, allocations: 0 / 0.4941 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1323, allocations: 3.938 kB / 0.4942 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.1323, allocations: 4 kB / 0.4942 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1323, allocations: 0 / 0.4942 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1323, allocations: 0 / 0.4942 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.682e-05/0.1324, allocations: 98.75 kB / 0.4943 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.1325, allocations: 81.11 kB / 0.4943 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.1325, allocations: 7.875 kB / 0.4943 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-06/0.1325, allocations: 0 / 0.4943 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/0.1325, allocations: 4 kB / 0.4943 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.1325, allocations: 0 / 0.4943 GB, free: 4.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.448e-05/0.1326, allocations: 75.28 kB / 0.4944 GB, free: 4.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1326, allocations: 4 kB / 0.4944 GB, free: 4.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004064/0.133, allocations: 131.7 kB / 0.4945 GB, free: 4.543 MB / 382.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.0006726/0.1337, allocations: 261.2 kB / 0.4948 GB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.332e-05/0.1338, allocations: 59.39 kB / 0.4948 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1338, allocations: 0 / 0.4948 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.86e-05/0.1338, allocations: 59.34 kB / 0.4949 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.1339, allocations: 0 / 0.4949 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000162/0.1341, allocations: 84.92 kB / 0.495 GB, free: 4.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.1344, allocations: 0.6769 MB / 0.4956 GB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.753e-06/0.1344, allocations: 4 kB / 0.4956 GB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.207e-05/0.1344, allocations: 7.438 kB / 0.4957 GB, free: 3.316 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1344, allocations: 0 / 0.4957 GB, free: 3.316 MB / 382.1 MB Notification: Performance of Templates: time 0.006783/0.1412, allocations: 3.765 MB / 0.4993 GB, free: 15.54 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches