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.001596/0.001596, allocations: 109.2 kB / 17.03 MB, free: 5.707 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.001728/0.001728, allocations: 194.9 kB / 17.96 MB, free: 5.082 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.434/1.434, allocations: 205.1 MB / 223.8 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.2147/0.2147, allocations: 43.52 MB / 314.7 MB, free: 472 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.001469/0.001469, allocations: 65.47 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.122, allocations: 57.79 MB / 441.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001598/0.1236, allocations: 497.1 kB / 442.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.1256, allocations: 1.97 MB / 444.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.332e-05/0.1256, allocations: 4 kB / 444.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.1256, allocations: 0 / 444.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.779e-06/0.1256, allocations: 0 / 444.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.1271, allocations: 0.7158 MB / 445.1 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.66e-05/0.1272, allocations: 4 kB / 445.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.408e-05/0.1272, allocations: 0 / 445.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.233e-05/0.1272, allocations: 3.984 kB / 445.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.573e-05/0.1272, allocations: 0 / 445.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.21e-06/0.1273, allocations: 4 kB / 445.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007372/0.128, allocations: 0.6628 MB / 445.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.582e-06/0.128, allocations: 4 kB / 445.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.446e-05/0.128, allocations: 0 / 445.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004863/0.1285, allocations: 0.5614 MB / 446.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1285, allocations: 0 / 446.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1286, allocations: 0 / 446.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.1286, allocations: 0 / 446.4 MB, free: 1.707 MB / 318.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.000332/0.1289, allocations: 405.2 kB / 446.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1289, allocations: 11.89 kB / 446.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.129, allocations: 16.88 kB / 446.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.426e-05/0.129, allocations: 160.4 kB / 446.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1291, allocations: 384 / 446.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.1291, allocations: 384 / 446.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.617e-05/0.1291, allocations: 42 kB / 447 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.1292, allocations: 3.938 kB / 447 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.1292, allocations: 3.984 kB / 447 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1292, allocations: 0 / 447 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.561e-05/0.1292, allocations: 0 / 447 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.377e-05/0.1293, allocations: 145.7 kB / 447.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.889e-05/0.1293, allocations: 26.58 kB / 447.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.053e-05/0.1293, allocations: 8.844 kB / 447.2 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-06/0.1293, allocations: 0 / 447.2 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1294, allocations: 64.27 kB / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/0.1294, allocations: 0 / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001272/0.1295, allocations: 67.34 kB / 447.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.1295, allocations: 77.11 kB / 447.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.965e-05/0.1296, allocations: 97.84 kB / 447.5 MB, free: 396 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.1296, allocations: 25.7 kB / 447.5 MB, free: 364 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.337e-06/0.1296, allocations: 80.14 kB / 447.6 MB, free: 280 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.1296, allocations: 3.938 kB / 447.6 MB, free: 276 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/0.1296, allocations: 13.72 kB / 447.6 MB, free: 256 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.303e-05/0.1297, allocations: 314.8 kB / 447.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.1297, allocations: 4.125 kB / 447.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.84e-06/0.1297, allocations: 0 / 447.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.667e-05/0.1298, allocations: 68.2 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1298, allocations: 0 / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.035e-05/0.1299, allocations: 63.39 kB / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.1299, allocations: 34.89 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1299, allocations: 4 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.1299, allocations: 0 / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.1299, allocations: 0 / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.1299, allocations: 4.094 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.283e-05/0.13, allocations: 0 / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.13, allocations: 0 / 448.1 MB, free: 15.73 MB / 334.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.429e-05/0.1301, allocations: 143.5 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.1301, allocations: 3.938 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.117e-05/0.1301, allocations: 3.125 kB / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.1301, allocations: 0 / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1301, allocations: 0 / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1301, allocations: 0 / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.317e-05/0.1302, allocations: 157.7 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1302, allocations: 7.938 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1302, allocations: 0 / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1302, allocations: 3.938 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.1302, allocations: 3.938 kB / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.1302, allocations: 0 / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1302, allocations: 4 kB / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.921e-05/0.1303, allocations: 86.83 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.208e-05/0.1304, allocations: 81.14 kB / 448.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.1304, allocations: 7.938 kB / 448.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-06/0.1304, allocations: 0 / 448.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.1304, allocations: 0 / 448.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.1304, allocations: 0 / 448.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.396e-05/0.1305, allocations: 75.28 kB / 448.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1305, allocations: 0 / 448.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003728/0.1308, allocations: 136 kB / 448.8 MB, free: 14.92 MB / 334.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.0005976/0.1314, allocations: 256.3 kB / 449 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.33e-05/0.1315, allocations: 67.33 kB / 449.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1316, allocations: 0 / 449.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.34e-05/0.1316, allocations: 55.41 kB / 449.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.1317, allocations: 0 / 449.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001591/0.1319, allocations: 72.98 kB / 449.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.1321, allocations: 0.6729 MB / 449.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.672e-06/0.1321, allocations: 4.109 kB / 449.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.102e-05/0.1322, allocations: 11.44 kB / 449.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1322, allocations: 0 / 449.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of Templates: time 0.006787/0.139, allocations: 3.778 MB / 453.7 MB, free: 9.93 MB / 334.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches