Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 170.5 kB / 16.07 MB, free: 5.73 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.353/1.353, allocations: 205.6 MB / 222.4 MB, free: 8.941 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.0008491/0.0008491, allocations: 95.12 kB / 270.8 MB, free: 8.129 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.3455/0.3455, allocations: 43.68 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003868, allocations: 8 kB / 432.3 MB, free: 5.027 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1297, allocations: 58.85 MB / 491.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002271/0.1321, allocations: 1.402 MB / 492.6 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1334, allocations: 0.8253 MB / 493.4 MB, free: 7.781 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.121e-05/0.1334, allocations: 0 / 493.4 MB, free: 7.781 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.1338, allocations: 35.89 kB / 493.4 MB, free: 7.746 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.134, allocations: 55.81 kB / 493.5 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.1342, allocations: 71.84 kB / 493.6 MB, free: 7.621 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.1344, allocations: 95.64 kB / 493.6 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.267e-05/0.1345, allocations: 16.2 kB / 493.7 MB, free: 7.512 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.111e-05/0.1346, allocations: 39.78 kB / 493.7 MB, free: 7.473 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.186e-05/0.1347, allocations: 27.86 kB / 493.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1347, allocations: 0 / 493.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.166e-05/0.1348, allocations: 35.98 kB / 493.8 MB, free: 7.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.758e-05/0.1349, allocations: 23.91 kB / 493.8 MB, free: 7.387 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.465e-05/0.1349, allocations: 61.39 kB / 493.8 MB, free: 7.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.1351, allocations: 115.9 kB / 494 MB, free: 7.207 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1351, allocations: 0 / 494 MB, free: 7.207 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1351, allocations: 0 / 494 MB, free: 7.207 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1352, allocations: 0 / 494 MB, free: 7.207 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005225/0.1357, allocations: 403 kB / 494.4 MB, free: 6.766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1357, allocations: 12.03 kB / 494.4 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.1358, allocations: 12.84 kB / 494.4 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.136, allocations: 210.3 kB / 494.6 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.1361, allocations: 384 / 494.6 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.1361, allocations: 20.09 kB / 494.6 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1363, allocations: 57.61 kB / 494.7 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1363, allocations: 0 / 494.7 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1363, allocations: 0 / 494.7 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.1363, allocations: 0 / 494.7 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.1364, allocations: 19.98 kB / 494.7 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.1367, allocations: 284.9 kB / 495 MB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.1369, allocations: 58.62 kB / 495 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.137, allocations: 20.84 kB / 495 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.137, allocations: 0 / 495 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.1372, allocations: 75.39 kB / 495.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1372, allocations: 0 / 495.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005246/0.1377, allocations: 173.1 kB / 495.3 MB, free: 5.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.1378, allocations: 51.41 kB / 495.3 MB, free: 5.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.138, allocations: 198.4 kB / 495.5 MB, free: 5.457 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.138, allocations: 29.7 kB / 495.6 MB, free: 5.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.138, allocations: 104.1 kB / 495.7 MB, free: 5.316 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.1381, allocations: 35.62 kB / 495.7 MB, free: 5.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.1381, allocations: 0 / 495.7 MB, free: 5.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.1382, allocations: 326.8 kB / 496 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.89e-05/0.1383, allocations: 20 kB / 496 MB, free: 4.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.746e-05/0.1384, allocations: 37.64 kB / 496.1 MB, free: 4.891 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1385, allocations: 53.7 kB / 496.1 MB, free: 4.832 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1385, allocations: 0 / 496.1 MB, free: 4.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001733/0.1387, allocations: 109.4 kB / 496.2 MB, free: 4.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1387, allocations: 7.938 kB / 496.2 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1387, allocations: 0 / 496.2 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1387, allocations: 3.984 kB / 496.2 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.64e-05/0.1388, allocations: 16 kB / 496.2 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1388, allocations: 160 / 496.2 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.1389, allocations: 3.938 kB / 496.3 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1389, allocations: 8 kB / 496.3 MB, free: 4.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.818e-05/0.139, allocations: 137.7 kB / 496.4 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.139, allocations: 7.906 kB / 496.4 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/0.1391, allocations: 21.38 kB / 496.4 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1391, allocations: 4 kB / 496.4 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1391, allocations: 0 / 496.4 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1391, allocations: 3.938 kB / 496.4 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.1395, allocations: 395.2 kB / 496.8 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1395, allocations: 4.031 kB / 496.8 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.1396, allocations: 8 kB / 496.8 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1396, allocations: 3.984 kB / 496.8 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1396, allocations: 7.938 kB / 496.8 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.1396, allocations: 4 kB / 496.8 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.1396, allocations: 0 / 496.8 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.1398, allocations: 196.2 kB / 497 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.1399, allocations: 96.92 kB / 497.1 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.1399, allocations: 7.922 kB / 497.1 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.14, allocations: 4.375 kB / 497.1 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.1401, allocations: 3.984 kB / 497.1 MB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.1401, allocations: 8 kB / 497.2 MB, free: 3.676 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001101/0.1402, allocations: 150.5 kB / 497.3 MB, free: 3.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1402, allocations: 0 / 497.3 MB, free: 3.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002338/0.1404, allocations: 24.19 kB / 497.3 MB, free: 3.508 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001011/0.1415, allocations: 0.5397 MB / 497.9 MB, free: 3.102 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.1416, allocations: 63.89 kB / 497.9 MB, free: 3.039 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1417, allocations: 0 / 497.9 MB, free: 3.039 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.9e-05/0.1417, allocations: 32 kB / 498 MB, free: 3.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.1421, allocations: 23.97 kB / 498 MB, free: 2.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.1425, allocations: 254.5 kB / 498.2 MB, free: 2.699 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.1428, allocations: 0.7082 MB / 498.9 MB, free: 1.965 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.94e-05/0.1429, allocations: 8.891 kB / 498.9 MB, free: 1.957 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.1429, allocations: 19.42 kB / 499 MB, free: 1.941 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.1429, allocations: 0 / 499 MB, free: 1.941 MB / 378.7 MB Notification: Performance of Templates: time 0.004048/0.147, allocations: 1.63 MB / 0.4889 GB, free: 320 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches