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.001172/0.001172, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.001327/0.001328, allocations: 188.1 kB / 17.34 MB, free: 5.754 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.581/1.581, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2536/0.2536, allocations: 43.53 MB / 314.1 MB, free: 468 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.001558/0.001558, allocations: 67.89 kB / 441.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.165, allocations: 57.79 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001819/0.1669, allocations: 0.4949 MB / 0.4883 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003214/0.1701, allocations: 1.968 MB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.246e-05/0.1701, allocations: 0 / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.616e-05/0.1702, allocations: 0 / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.204e-06/0.1702, allocations: 0 / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.1724, allocations: 0.72 MB / 0.491 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.882e-05/0.1724, allocations: 4 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/0.1725, allocations: 4 kB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.908e-05/0.1725, allocations: 0 / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.035e-05/0.1726, allocations: 3.938 kB / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.102e-06/0.1726, allocations: 0 / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.1737, allocations: 0.6668 MB / 0.4916 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.1737, allocations: 0 / 0.4916 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.1738, allocations: 4 kB / 0.4916 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008248/0.1746, allocations: 0.5653 MB / 0.4922 GB, free: 7.371 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1746, allocations: 0 / 0.4922 GB, free: 7.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1746, allocations: 0 / 0.4922 GB, free: 7.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.1746, allocations: 0 / 0.4922 GB, free: 7.371 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.0005743/0.1752, allocations: 401.3 kB / 0.4926 GB, free: 6.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1753, allocations: 15.89 kB / 0.4926 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.1753, allocations: 0.9375 kB / 0.4926 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.1755, allocations: 164.3 kB / 0.4927 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1755, allocations: 4.375 kB / 0.4928 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.1755, allocations: 384 / 0.4928 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.1756, allocations: 41.94 kB / 0.4928 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1756, allocations: 4 kB / 0.4928 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1757, allocations: 0 / 0.4928 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1757, allocations: 0 / 0.4928 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.296e-05/0.1757, allocations: 4 kB / 0.4928 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.1759, allocations: 141.7 kB / 0.4929 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.416e-05/0.176, allocations: 18.61 kB / 0.493 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.176, allocations: 8.844 kB / 0.493 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.176, allocations: 0 / 0.493 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.641e-05/0.1761, allocations: 72.2 kB / 0.493 GB, free: 6.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 4.779e-06/0.1761, allocations: 0 / 0.493 GB, free: 6.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002152/0.1763, allocations: 63.34 kB / 0.4931 GB, free: 6.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.1764, allocations: 81.11 kB / 0.4932 GB, free: 6.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.735e-05/0.1764, allocations: 93.84 kB / 0.4933 GB, free: 6.066 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.1765, allocations: 25.7 kB / 0.4933 GB, free: 6.035 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.1765, allocations: 84.08 kB / 0.4934 GB, free: 5.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.1765, allocations: 7.984 kB / 0.4934 GB, free: 5.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.1766, allocations: 13.72 kB / 0.4934 GB, free: 5.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1767, allocations: 311 kB / 0.4937 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-06/0.1767, allocations: 4 kB / 0.4937 GB, free: 5.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.1768, allocations: 0 / 0.4937 GB, free: 5.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.277e-05/0.1768, allocations: 64.2 kB / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1768, allocations: 0 / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.431e-05/0.1769, allocations: 71.38 kB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.177, allocations: 33.64 kB / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.177, allocations: 3.984 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.177, allocations: 4 kB / 0.4939 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.177, allocations: 4.094 kB / 0.4939 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.177, allocations: 0 / 0.4939 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.1771, allocations: 0 / 0.4939 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1771, allocations: 0 / 0.4939 GB, free: 5.395 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 0.0001104/0.1772, allocations: 143.5 kB / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.1772, allocations: 3.938 kB / 0.494 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.391e-05/0.1772, allocations: 3.125 kB / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.1772, allocations: 0 / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1772, allocations: 0 / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1772, allocations: 4 kB / 0.494 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.1774, allocations: 149.7 kB / 0.4941 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1774, allocations: 3.984 kB / 0.4941 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.838e-06/0.1774, allocations: 7.938 kB / 0.4942 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1774, allocations: 3.938 kB / 0.4942 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.1774, allocations: 0 / 0.4942 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1774, allocations: 0 / 0.4942 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1774, allocations: 0 / 0.4942 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.1775, allocations: 94.83 kB / 0.4942 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.1776, allocations: 77.11 kB / 0.4943 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.1776, allocations: 7.938 kB / 0.4943 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-06/0.1776, allocations: 3.938 kB / 0.4943 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.1776, allocations: 0 / 0.4943 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.1776, allocations: 0 / 0.4943 GB, free: 4.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.065e-05/0.1777, allocations: 75.28 kB / 0.4944 GB, free: 4.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1777, allocations: 0 / 0.4944 GB, free: 4.715 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004747/0.1782, allocations: 132 kB / 0.4945 GB, free: 4.586 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.0007095/0.1789, allocations: 265.5 kB / 0.4948 GB, free: 4.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.179, allocations: 59.34 kB / 0.4948 GB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.179, allocations: 0 / 0.4948 GB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.202e-05/0.1791, allocations: 63.39 kB / 0.4949 GB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.1792, allocations: 0 / 0.4949 GB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002239/0.1794, allocations: 84.83 kB / 0.495 GB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.1797, allocations: 0.6691 MB / 0.4956 GB, free: 3.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.98e-05/0.1798, allocations: 11.98 kB / 0.4956 GB, free: 3.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.344e-05/0.1798, allocations: 7.438 kB / 0.4957 GB, free: 3.352 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1798, allocations: 0 / 0.4957 GB, free: 3.352 MB / 382.1 MB Notification: Performance of Templates: time 0.007997/0.1878, allocations: 3.768 MB / 0.4993 GB, free: 15.57 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