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.001166/0.001166, allocations: 116.4 kB / 17.08 MB, free: 5.992 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.001243/0.001243, allocations: 193.2 kB / 18.01 MB, free: 5.07 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.9 MB, free: 12.24 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.2105/0.2105, allocations: 43.52 MB / 314.8 MB, free: 456 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.001444/0.001444, allocations: 77.39 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1248, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001996/0.1268, allocations: 0.5015 MB / 0.489 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003221/0.1301, allocations: 1.966 MB / 0.4909 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.889e-05/0.1301, allocations: 0 / 0.4909 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.477e-05/0.1301, allocations: 0 / 0.4909 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.484e-06/0.1302, allocations: 0 / 0.4909 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.1325, allocations: 0.7161 MB / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.826e-05/0.1326, allocations: 7.984 kB / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.258e-05/0.1327, allocations: 0 / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.155e-05/0.1327, allocations: 0 / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.236e-05/0.1327, allocations: 7.938 kB / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.763e-06/0.1327, allocations: 0 / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.134, allocations: 0.6629 MB / 0.4923 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.425e-06/0.134, allocations: 0 / 0.4923 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.1341, allocations: 0 / 0.4923 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009646/0.135, allocations: 0.5653 MB / 0.4928 GB, free: 7.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.135, allocations: 0 / 0.4928 GB, free: 7.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1351, allocations: 0 / 0.4928 GB, free: 7.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1351, allocations: 0 / 0.4928 GB, free: 7.367 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.0007195/0.1358, allocations: 401.3 kB / 0.4932 GB, free: 6.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.1359, allocations: 15.89 kB / 0.4932 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.1359, allocations: 8.875 kB / 0.4933 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.136, allocations: 168.3 kB / 0.4934 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.136, allocations: 384 / 0.4934 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.1361, allocations: 384 / 0.4934 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.1362, allocations: 38.02 kB / 0.4935 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1362, allocations: 0 / 0.4935 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1362, allocations: 0 / 0.4935 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1362, allocations: 3.984 kB / 0.4935 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.081e-05/0.1362, allocations: 0 / 0.4935 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.1364, allocations: 153.7 kB / 0.4936 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.776e-05/0.1365, allocations: 18.52 kB / 0.4936 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.457e-05/0.1365, allocations: 4.859 kB / 0.4936 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.729e-06/0.1365, allocations: 0 / 0.4936 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.623e-05/0.1366, allocations: 68.3 kB / 0.4937 GB, free: 6.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.1366, allocations: 3.938 kB / 0.4937 GB, free: 6.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001912/0.1368, allocations: 67.39 kB / 0.4938 GB, free: 6.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.1368, allocations: 81.05 kB / 0.4938 GB, free: 6.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.389e-05/0.1369, allocations: 89.86 kB / 0.4939 GB, free: 6.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1369, allocations: 25.7 kB / 0.4939 GB, free: 6.023 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.1369, allocations: 80.14 kB / 0.494 GB, free: 5.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.137, allocations: 0 / 0.494 GB, free: 5.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.137, allocations: 17.72 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1371, allocations: 310.8 kB / 0.4943 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.1372, allocations: 4.125 kB / 0.4943 GB, free: 5.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-06/0.1372, allocations: 4 kB / 0.4943 GB, free: 5.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.985e-05/0.1372, allocations: 64.25 kB / 0.4944 GB, free: 5.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1373, allocations: 0 / 0.4944 GB, free: 5.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.307e-05/0.1373, allocations: 67.34 kB / 0.4945 GB, free: 5.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.1374, allocations: 33.64 kB / 0.4945 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.1374, allocations: 4 kB / 0.4945 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1374, allocations: 3.938 kB / 0.4945 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-06/0.1374, allocations: 4.094 kB / 0.4945 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1374, allocations: 3.984 kB / 0.4945 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.1375, allocations: 3.984 kB / 0.4945 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.1375, allocations: 0 / 0.4945 GB, free: 5.383 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.641e-05/0.1376, allocations: 139.5 kB / 0.4947 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.1376, allocations: 3.938 kB / 0.4947 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.413e-05/0.1376, allocations: 3.125 kB / 0.4947 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1376, allocations: 0 / 0.4947 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1376, allocations: 0 / 0.4947 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1376, allocations: 8 kB / 0.4947 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.1377, allocations: 145.7 kB / 0.4948 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1377, allocations: 0 / 0.4948 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.71e-07/0.1377, allocations: 0 / 0.4948 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1378, allocations: 3.938 kB / 0.4948 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1378, allocations: 4 kB / 0.4948 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1378, allocations: 4 kB / 0.4948 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1378, allocations: 0 / 0.4948 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.904e-05/0.1379, allocations: 98.75 kB / 0.4949 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.1379, allocations: 77.11 kB / 0.495 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.138, allocations: 11.88 kB / 0.495 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.081e-05/0.138, allocations: 0 / 0.495 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.138, allocations: 0 / 0.495 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.138, allocations: 0 / 0.495 GB, free: 4.781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.665e-05/0.138, allocations: 75.28 kB / 0.4951 GB, free: 4.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.138, allocations: 0 / 0.4951 GB, free: 4.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005957/0.1386, allocations: 132 kB / 0.4952 GB, free: 4.578 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.0008911/0.1395, allocations: 249.8 kB / 0.4954 GB, free: 4.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.1397, allocations: 63.33 kB / 0.4955 GB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1397, allocations: 0 / 0.4955 GB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.133e-05/0.1397, allocations: 55.41 kB / 0.4955 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.1399, allocations: 7.938 kB / 0.4956 GB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001994/0.1401, allocations: 114.5 kB / 0.4957 GB, free: 4.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.1403, allocations: 0.673 MB / 0.4963 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.478e-05/0.1403, allocations: 15.44 kB / 0.4963 GB, free: 3.316 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1403, allocations: 0 / 0.4963 GB, free: 3.316 MB / 382.1 MB Notification: Performance of Templates: time 0.006663/0.147, allocations: 3.093 MB / 0.4994 GB, free: 224 kB / 382.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/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