Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008443/0.0008477, allocations: 172.1 kB / 16.08 MB, free: 5.727 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.26/1.26, allocations: 205.6 MB / 222.4 MB, free: 8.938 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.0007552/0.0007553, allocations: 94.92 kB / 270.8 MB, free: 8.133 MB / 218.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.3279/0.3279, allocations: 43.66 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.000311, allocations: 8 kB / 432.3 MB, free: 5.035 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1258, allocations: 58.85 MB / 491.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002586/0.1284, allocations: 1.305 MB / 492.5 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009175/0.1294, allocations: 404.9 kB / 492.9 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.137e-05/0.1295, allocations: 4 kB / 492.9 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007599/0.1302, allocations: 455.2 kB / 493.3 MB, free: 7.871 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004127/0.1307, allocations: 247.5 kB / 493.6 MB, free: 7.629 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.1312, allocations: 135.8 kB / 493.7 MB, free: 7.496 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003173/0.1315, allocations: 159.6 kB / 493.8 MB, free: 7.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.1317, allocations: 24.42 kB / 493.9 MB, free: 7.316 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.1319, allocations: 103.8 kB / 494 MB, free: 7.215 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.1322, allocations: 199.6 kB / 494.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.1322, allocations: 0 / 494.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1323, allocations: 31.98 kB / 494.2 MB, free: 6.988 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.1325, allocations: 79.69 kB / 494.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.1326, allocations: 120.7 kB / 494.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.133, allocations: 250.8 kB / 494.6 MB, free: 6.539 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.133, allocations: 8 kB / 494.6 MB, free: 6.531 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.133, allocations: 0 / 494.6 MB, free: 6.531 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.1331, allocations: 0 / 494.6 MB, free: 6.531 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008268/0.1339, allocations: 0.5833 MB / 495.2 MB, free: 5.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.134, allocations: 8.031 kB / 495.2 MB, free: 5.891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.86e-05/0.134, allocations: 40.47 kB / 495.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.1344, allocations: 292.2 kB / 495.6 MB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1345, allocations: 8.375 kB / 495.6 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.1345, allocations: 384 / 495.6 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1347, allocations: 73.53 kB / 495.6 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1347, allocations: 0 / 495.6 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.1348, allocations: 7.984 kB / 495.6 MB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1348, allocations: 0 / 495.6 MB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.1349, allocations: 27.98 kB / 495.7 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000757/0.1357, allocations: 396.6 kB / 496.1 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.136, allocations: 50.5 kB / 496.1 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.614e-05/0.1361, allocations: 20.88 kB / 496.1 MB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.1361, allocations: 8 kB / 496.1 MB, free: 4.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.1362, allocations: 34.56 kB / 496.2 MB, free: 4.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.1362, allocations: 0 / 496.2 MB, free: 4.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.00084/0.137, allocations: 255.9 kB / 496.4 MB, free: 4.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.1371, allocations: 55.41 kB / 496.5 MB, free: 4.512 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009057/0.138, allocations: 0.8574 MB / 497.3 MB, free: 3.645 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.138, allocations: 29.64 kB / 497.4 MB, free: 3.609 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.1383, allocations: 216.1 kB / 497.6 MB, free: 3.395 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.1383, allocations: 15.81 kB / 497.6 MB, free: 3.379 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.1384, allocations: 0 / 497.6 MB, free: 3.379 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.1385, allocations: 362.8 kB / 497.9 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.231e-05/0.1386, allocations: 27.98 kB / 498 MB, free: 2.988 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.1387, allocations: 23.98 kB / 498 MB, free: 2.965 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.1389, allocations: 64.77 kB / 498.1 MB, free: 2.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1389, allocations: 0 / 498.1 MB, free: 2.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002269/0.1391, allocations: 129.1 kB / 498.2 MB, free: 2.766 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1391, allocations: 8 kB / 498.2 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.1391, allocations: 0 / 498.2 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1392, allocations: 0 / 498.2 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.518e-05/0.1392, allocations: 19.98 kB / 498.2 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.1392, allocations: 3.984 kB / 498.2 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/0.1393, allocations: 7.938 kB / 498.2 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1393, allocations: 4 kB / 498.2 MB, free: 2.723 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001884/0.1395, allocations: 217.7 kB / 498.4 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.1396, allocations: 39.44 kB / 498.5 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.1399, allocations: 153 kB / 498.6 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1399, allocations: 4 kB / 498.6 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1399, allocations: 0 / 498.6 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1399, allocations: 3.938 kB / 498.6 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/0.1405, allocations: 474.5 kB / 499.1 MB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1405, allocations: 4.359 kB / 499.1 MB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.759e-05/0.1406, allocations: 12 kB / 499.1 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1406, allocations: 0 / 499.1 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1406, allocations: 11.94 kB / 499.1 MB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1406, allocations: 3.938 kB / 499.1 MB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1406, allocations: 0 / 499.1 MB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.1409, allocations: 227 kB / 499.4 MB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-05/0.141, allocations: 112.6 kB / 499.5 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.141, allocations: 3.938 kB / 499.5 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.301e-05/0.1411, allocations: 8 kB / 499.5 MB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.1412, allocations: 7.984 kB / 499.5 MB, free: 1.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1412, allocations: 0 / 499.5 MB, free: 1.355 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005914/0.1418, allocations: 0.6472 MB / 0.4884 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1418, allocations: 0 / 0.4884 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002375/0.142, allocations: 24 kB / 0.4884 GB, free: 0.6875 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0009311/0.143, allocations: 464.8 kB / 0.4889 GB, free: 364 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.1432, allocations: 63.95 kB / 0.4889 GB, free: 300 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1432, allocations: 4 kB / 0.4889 GB, free: 296 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/0.1433, allocations: 35.86 kB / 0.489 GB, free: 260 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.1437, allocations: 29.41 kB / 0.489 GB, free: 232 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1805/0.3242, allocations: 0.8686 MB / 0.4898 GB, free: 43.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.3246, allocations: 0.827 MB / 0.4907 GB, free: 42.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.856e-05/0.3247, allocations: 20.7 kB / 0.4907 GB, free: 42.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.3248, allocations: 12.09 kB / 0.4907 GB, free: 42.66 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3248, allocations: 0 / 0.4907 GB, free: 42.66 MB / 378.7 MB Notification: Performance of Templates: time 0.00516/0.3299, allocations: 1.35 MB / 0.492 GB, free: 42.6 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches