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.001207/0.001208, allocations: 106 kB / 17.09 MB, free: 5.984 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.001147/0.001147, allocations: 195.3 kB / 18.02 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.454/1.454, allocations: 205.1 MB / 223.9 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.2134/0.2134, allocations: 43.52 MB / 314.8 MB, free: 460 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.001485/0.001485, allocations: 69.45 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.123, allocations: 57.8 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.002004/0.125, allocations: 498.7 kB / 0.489 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00331/0.1284, allocations: 1.975 MB / 0.4909 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.757e-05/0.1284, allocations: 0 / 0.4909 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.1285, allocations: 0 / 0.4909 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.362e-06/0.1285, allocations: 0 / 0.4909 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.1309, allocations: 0.7239 MB / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.632e-05/0.1309, allocations: 4 kB / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.131, allocations: 0 / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.731e-05/0.131, allocations: 3.938 kB / 0.4917 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.001e-05/0.131, allocations: 3.984 kB / 0.4917 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.211e-06/0.131, allocations: 0 / 0.4917 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.1324, allocations: 0.6629 MB / 0.4923 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.1324, allocations: 0 / 0.4923 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.1325, allocations: 4 kB / 0.4923 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009789/0.1334, allocations: 0.5614 MB / 0.4929 GB, free: 7.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1335, allocations: 4 kB / 0.4929 GB, free: 7.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1335, allocations: 0 / 0.4929 GB, free: 7.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1335, allocations: 0 / 0.4929 GB, free: 7.363 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.0007641/0.1342, allocations: 401.3 kB / 0.4932 GB, free: 6.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.1343, allocations: 15.89 kB / 0.4933 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.1344, allocations: 0.9375 kB / 0.4933 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.1345, allocations: 168.3 kB / 0.4934 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.1346, allocations: 4.312 kB / 0.4934 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.1346, allocations: 4.375 kB / 0.4934 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.1347, allocations: 34 kB / 0.4935 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1347, allocations: 0 / 0.4935 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1347, allocations: 0 / 0.4935 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1347, allocations: 4 kB / 0.4935 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.152e-05/0.1348, allocations: 4 kB / 0.4935 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.1349, allocations: 141.7 kB / 0.4936 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.589e-05/0.135, allocations: 30.53 kB / 0.4936 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.135, allocations: 8.844 kB / 0.4936 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.1351, allocations: 0 / 0.4936 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.141e-05/0.1351, allocations: 64.14 kB / 0.4937 GB, free: 6.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.1351, allocations: 0 / 0.4937 GB, free: 6.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002675/0.1354, allocations: 63.47 kB / 0.4938 GB, free: 6.254 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.1355, allocations: 77.11 kB / 0.4938 GB, free: 6.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.515e-05/0.1356, allocations: 101.8 kB / 0.4939 GB, free: 6.051 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.1356, allocations: 25.7 kB / 0.494 GB, free: 6.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.1357, allocations: 80.14 kB / 0.494 GB, free: 5.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.1357, allocations: 0 / 0.494 GB, free: 5.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.1358, allocations: 9.719 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002599/0.136, allocations: 315 kB / 0.4943 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.136, allocations: 7.938 kB / 0.4943 GB, free: 5.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-06/0.1361, allocations: 0 / 0.4943 GB, free: 5.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.259e-05/0.1361, allocations: 64.27 kB / 0.4944 GB, free: 5.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1362, allocations: 3.938 kB / 0.4944 GB, free: 5.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.186e-05/0.1363, allocations: 63.39 kB / 0.4945 GB, free: 5.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.676e-05/0.1363, allocations: 29.7 kB / 0.4945 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1363, allocations: 3.938 kB / 0.4945 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.1364, allocations: 0 / 0.4945 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.1364, allocations: 4.094 kB / 0.4945 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.1364, allocations: 4 kB / 0.4945 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/0.1364, allocations: 0 / 0.4945 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1364, allocations: 0 / 0.4945 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 9.808e-05/0.1365, allocations: 143.4 kB / 0.4947 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-06/0.1365, allocations: 4 kB / 0.4947 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.724e-05/0.1366, allocations: 7.062 kB / 0.4947 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.1366, allocations: 0 / 0.4947 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1366, allocations: 0 / 0.4947 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.1366, allocations: 81.11 kB / 0.4947 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.1367, allocations: 0 / 0.4947 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.351e-05/0.1367, allocations: 8 kB / 0.4947 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.1367, allocations: 4 kB / 0.4948 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001397/0.1369, allocations: 190.1 kB / 0.4949 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002025/0.1371, allocations: 244.4 kB / 0.4952 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.96e-05/0.1371, allocations: 8.062 kB / 0.4952 GB, free: 4.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.59e-05/0.1371, allocations: 75.28 kB / 0.4952 GB, free: 4.559 MB / 382.1 MB Notification: Performance of Backend: time 3.417e-06/0.1371, allocations: 0 / 0.4952 GB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.1384, allocations: 288.2 kB / 0.4955 GB, free: 4.258 MB / 382.1 MB Notification: Performance of SimCode: time 0.0004277/0.1388, allocations: 0.5871 MB / 0.4961 GB, free: 3.609 MB / 382.1 MB Notification: Performance of Templates: time 0.009203/0.148, allocations: 3.792 MB / 0.4998 GB, free: 15.81 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/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