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.001247/0.001247, allocations: 100.5 kB / 16.4 MB, free: 6.496 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.0012/0.0012, allocations: 192.1 kB / 17.34 MB, free: 5.77 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.456/1.456, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2229/0.2229, allocations: 43.52 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.001542/0.001542, allocations: 67.91 kB / 441.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1541, allocations: 57.8 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001701/0.1558, allocations: 490.8 kB / 0.4883 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.1587, allocations: 1.968 MB / 0.4903 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.544e-05/0.1587, allocations: 4 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.1588, allocations: 0 / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.914e-06/0.1588, allocations: 0 / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.1607, allocations: 0.7239 MB / 0.491 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.704e-05/0.1608, allocations: 3.984 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.1608, allocations: 0 / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.762e-05/0.1609, allocations: 4 kB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.775e-05/0.1609, allocations: 11.92 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.23e-06/0.1609, allocations: 0 / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.1619, allocations: 0.659 MB / 0.4916 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.1619, allocations: 0 / 0.4916 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.757e-05/0.162, allocations: 0 / 0.4916 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006794/0.1627, allocations: 0.5653 MB / 0.4922 GB, free: 7.375 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1627, allocations: 0 / 0.4922 GB, free: 7.375 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1627, allocations: 0 / 0.4922 GB, free: 7.375 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1627, allocations: 0 / 0.4922 GB, free: 7.375 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.0005033/0.1632, allocations: 409.3 kB / 0.4926 GB, free: 6.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1632, allocations: 15.89 kB / 0.4926 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.1633, allocations: 0.9375 kB / 0.4926 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.1634, allocations: 164.3 kB / 0.4928 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.1634, allocations: 4.312 kB / 0.4928 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.1634, allocations: 384 / 0.4928 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1636, allocations: 34.02 kB / 0.4928 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.1636, allocations: 0 / 0.4928 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.1636, allocations: 0 / 0.4928 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1636, allocations: 4 kB / 0.4928 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.91e-05/0.1636, allocations: 3.984 kB / 0.4928 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.1638, allocations: 145.7 kB / 0.4929 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.14e-05/0.1638, allocations: 22.52 kB / 0.493 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.678e-05/0.1639, allocations: 8.953 kB / 0.493 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.1639, allocations: 0 / 0.493 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.1639, allocations: 64.2 kB / 0.493 GB, free: 6.344 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1639, allocations: 3.938 kB / 0.493 GB, free: 6.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000178/0.1641, allocations: 63.39 kB / 0.4931 GB, free: 6.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.1642, allocations: 81.11 kB / 0.4932 GB, free: 6.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.695e-05/0.1643, allocations: 89.86 kB / 0.4933 GB, free: 6.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1643, allocations: 25.7 kB / 0.4933 GB, free: 6.039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.1643, allocations: 80.14 kB / 0.4934 GB, free: 5.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.1644, allocations: 4 kB / 0.4934 GB, free: 5.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.1644, allocations: 9.844 kB / 0.4934 GB, free: 5.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1645, allocations: 318.8 kB / 0.4937 GB, free: 5.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.1646, allocations: 3.938 kB / 0.4937 GB, free: 5.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-06/0.1646, allocations: 4 kB / 0.4937 GB, free: 5.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.831e-05/0.1646, allocations: 64.27 kB / 0.4937 GB, free: 5.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1646, allocations: 0 / 0.4937 GB, free: 5.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.248e-05/0.1647, allocations: 59.34 kB / 0.4938 GB, free: 5.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/0.1648, allocations: 41.62 kB / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1648, allocations: 4.094 kB / 0.4938 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1648, allocations: 0 / 0.4938 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-06/0.1648, allocations: 4 kB / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1648, allocations: 0 / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.476e-05/0.1648, allocations: 0 / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.1648, allocations: 4 kB / 0.4938 GB, free: 5.402 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 9.457e-05/0.1649, allocations: 139.4 kB / 0.494 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-06/0.165, allocations: 3.938 kB / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.25e-05/0.165, allocations: 7.125 kB / 0.494 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.165, allocations: 11.98 kB / 0.494 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.165, allocations: 0 / 0.494 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.165, allocations: 0 / 0.494 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.1651, allocations: 141.7 kB / 0.4941 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1651, allocations: 0 / 0.4941 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1651, allocations: 0 / 0.4941 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.1651, allocations: 7.922 kB / 0.4941 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.1651, allocations: 4 kB / 0.4941 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1652, allocations: 3.984 kB / 0.4942 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1652, allocations: 0 / 0.4942 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.326e-05/0.1653, allocations: 94.83 kB / 0.4942 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.1653, allocations: 77.11 kB / 0.4943 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1653, allocations: 11.86 kB / 0.4943 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-06/0.1653, allocations: 0 / 0.4943 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.1654, allocations: 0 / 0.4943 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.1654, allocations: 7.938 kB / 0.4943 GB, free: 4.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.05e-05/0.1655, allocations: 75.28 kB / 0.4944 GB, free: 4.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1655, allocations: 0 / 0.4944 GB, free: 4.715 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004531/0.1659, 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.0007545/0.1667, allocations: 257.5 kB / 0.4948 GB, free: 4.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.1668, allocations: 63.34 kB / 0.4948 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1668, allocations: 0 / 0.4948 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.617e-05/0.1669, allocations: 55.41 kB / 0.4949 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.167, allocations: 4 kB / 0.4949 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.1672, allocations: 92.94 kB / 0.495 GB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.1675, allocations: 0.669 MB / 0.4956 GB, free: 3.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.412e-06/0.1675, allocations: 0 / 0.4956 GB, free: 3.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.29e-05/0.1676, allocations: 7.438 kB / 0.4956 GB, free: 3.363 MB / 382.1 MB Notification: Performance of SimCode: time 1.641e-05/0.1676, allocations: 0 / 0.4956 GB, free: 3.363 MB / 382.1 MB Notification: Performance of Templates: time 0.008607/0.1762, allocations: 3.78 MB / 0.4993 GB, free: 15.58 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