Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001368/0.001368, allocations: 177.1 kB / 16.08 MB, free: 5.531 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.6 MB / 222.4 MB, free: 13.65 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007765/0.0007764, allocations: 94.3 kB / 270.8 MB, free: 13.16 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2018/0.2018, allocations: 43.68 MB / 362.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003344, allocations: 8 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1266, allocations: 58.87 MB / 491.2 MB, free: 8.117 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0007248/0.1274, allocations: 228.7 kB / 491.4 MB, free: 7.891 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003594/0.131, allocations: 2.699 MB / 494.1 MB, free: 4.988 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.571e-05/0.1311, allocations: 0 / 494.1 MB, free: 4.988 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.1311, allocations: 4 kB / 494.1 MB, free: 4.984 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.883e-06/0.1311, allocations: 0 / 494.1 MB, free: 4.984 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.1334, allocations: 0.9324 MB / 495 MB, free: 3.977 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 3e-05/0.1335, allocations: 0 / 495 MB, free: 3.977 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.1335, allocations: 3.984 kB / 495 MB, free: 3.973 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.236e-05/0.1335, allocations: 11.92 kB / 495 MB, free: 3.961 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.367e-05/0.1336, allocations: 4 kB / 495 MB, free: 3.957 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.543e-06/0.1336, allocations: 4 kB / 495.1 MB, free: 3.953 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.1347, allocations: 0.6122 MB / 495.7 MB, free: 3.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.947e-06/0.1348, allocations: 3.938 kB / 495.7 MB, free: 3.336 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.1348, allocations: 25.7 kB / 495.7 MB, free: 3.305 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008792/0.1357, allocations: 0.5614 MB / 496.3 MB, free: 2.742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1357, allocations: 0 / 496.3 MB, free: 2.742 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.1357, allocations: 4 kB / 496.3 MB, free: 2.738 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1357, allocations: 0 / 496.3 MB, free: 2.738 MB / 330.7 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.000539/0.1363, allocations: 393.3 kB / 496.6 MB, free: 2.301 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1363, allocations: 12.03 kB / 496.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.1364, allocations: 4.938 kB / 496.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.1365, allocations: 160.4 kB / 496.8 MB, free: 2.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1365, allocations: 384 / 496.8 MB, free: 2.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.517e-06/0.1365, allocations: 4.359 kB / 496.8 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.428e-05/0.1366, allocations: 37.95 kB / 496.9 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1366, allocations: 3.938 kB / 496.9 MB, free: 2.039 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1367, allocations: 0 / 496.9 MB, free: 2.039 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1367, allocations: 4 kB / 496.9 MB, free: 2.035 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.099e-05/0.1367, allocations: 3.984 kB / 496.9 MB, free: 2.031 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.1368, allocations: 145.7 kB / 497 MB, free: 1.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.139e-05/0.1369, allocations: 22.56 kB / 497 MB, free: 1.809 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.1369, allocations: 8.953 kB / 497 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.1369, allocations: 0 / 497 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.431e-05/0.137, allocations: 68.14 kB / 497.1 MB, free: 1.715 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.137, allocations: 0 / 497.1 MB, free: 1.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001647/0.1372, allocations: 59.41 kB / 497.2 MB, free: 1.645 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.1372, allocations: 81.09 kB / 497.2 MB, free: 1.547 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.906e-05/0.1373, allocations: 97.8 kB / 497.3 MB, free: 1.441 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.1373, allocations: 25.7 kB / 497.4 MB, free: 1.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.478e-05/0.1373, allocations: 80.14 kB / 497.4 MB, free: 1.328 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.1373, allocations: 0 / 497.4 MB, free: 1.328 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-06/0.1373, allocations: 4 kB / 497.4 MB, free: 1.324 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1375, allocations: 315 kB / 497.8 MB, free: 1.008 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-06/0.1375, allocations: 0 / 497.8 MB, free: 1.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.07e-06/0.1375, allocations: 0 / 497.8 MB, free: 1.008 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.548e-05/0.1375, allocations: 64.2 kB / 497.8 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1376, allocations: 0 / 497.8 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.38e-05/0.1376, allocations: 67.39 kB / 497.9 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.1377, allocations: 33.64 kB / 497.9 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.1377, allocations: 0 / 497.9 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1377, allocations: 4.094 kB / 497.9 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.1377, allocations: 0 / 497.9 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.1377, allocations: 4 kB / 497.9 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.761e-05/0.1377, allocations: 0 / 497.9 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.1378, allocations: 0 / 497.9 MB, free: 0.8047 MB / 330.7 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.137e-05/0.1379, allocations: 139.8 kB / 498.1 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.867e-06/0.1379, allocations: 3.938 kB / 498.1 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.148e-05/0.1379, allocations: 3.125 kB / 498.1 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1379, allocations: 0 / 498.1 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1379, allocations: 4 kB / 498.1 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1379, allocations: 0 / 498.1 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.71e-05/0.138, allocations: 153.6 kB / 498.2 MB, free: 452 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.138, allocations: 3.938 kB / 498.2 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-06/0.138, allocations: 7.984 kB / 498.2 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.138, allocations: 3.938 kB / 498.2 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.138, allocations: 0 / 498.2 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1381, allocations: 0 / 498.2 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1381, allocations: 0 / 498.2 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.379e-05/0.1382, allocations: 94.83 kB / 498.3 MB, free: 316 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.1382, allocations: 81.05 kB / 498.4 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.1382, allocations: 3.938 kB / 498.4 MB, free: 212 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.109e-05/0.1382, allocations: 4 kB / 498.4 MB, free: 208 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.1383, allocations: 0 / 498.4 MB, free: 208 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-06/0.1383, allocations: 0 / 498.4 MB, free: 208 kB / 330.7 MB Notification: Performance of sorting global known variables: time 2.633e-05/0.1383, allocations: 75.28 kB / 498.5 MB, free: 132 kB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1383, allocations: 0 / 498.5 MB, free: 132 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005428/0.1389, allocations: 136 kB / 498.6 MB, free: 15.99 MB / 346.7 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.0008966/0.1398, allocations: 263.1 kB / 498.9 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.1399, allocations: 63.34 kB / 498.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1399, allocations: 3.938 kB / 498.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.564e-05/0.1399, allocations: 55.41 kB / 499 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.1401, allocations: 0 / 499 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/0.1403, allocations: 86.72 kB / 499.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.1406, allocations: 0.6692 MB / 499.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.352e-06/0.1406, allocations: 0 / 499.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.1406, allocations: 11.44 kB / 499.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1406, allocations: 0 / 499.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of Templates: time 0.008169/0.1488, allocations: 3.753 MB / 0.4917 GB, free: 11.02 MB / 346.7 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","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches