Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 109.9 kB / 17.33 MB, free: 6 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.001206/0.001207, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 241.9 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2148/0.2148, allocations: 44.19 MB / 336.2 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 60.81 kB / 407.9 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1243, allocations: 60.83 MB / 468.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00366/0.128, allocations: 1.969 MB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1296, allocations: 0.8965 MB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.237e-05/0.1297, allocations: 8 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003149/0.13, allocations: 39.77 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.1302, allocations: 51.77 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.1305, allocations: 107.8 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.1307, allocations: 135.6 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1308, allocations: 37.47 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.693e-05/0.1309, allocations: 59.72 kB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.459e-05/0.131, allocations: 51.64 kB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.131, allocations: 8 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.322e-05/0.1311, allocations: 43.98 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.1312, allocations: 23.92 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.238e-05/0.1313, allocations: 51.67 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.1315, allocations: 147.7 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1315, allocations: 0 / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1315, allocations: 4 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1316, allocations: 0 / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006698/0.1322, allocations: 480.5 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1323, allocations: 8.031 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.1323, allocations: 16.75 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.1326, allocations: 220.5 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1326, allocations: 12.36 kB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.1326, allocations: 8.125 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.1329, allocations: 114.8 kB / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1329, allocations: 0 / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1329, allocations: 3.984 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1329, allocations: 0 / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.1331, allocations: 51.91 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.1337, allocations: 0.5009 MB / 473.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.134, allocations: 94.59 kB / 473.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.371e-05/0.1341, allocations: 36.84 kB / 473.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1341, allocations: 3.938 kB / 473.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.1344, allocations: 79.38 kB / 473.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.1344, allocations: 3.938 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003741/0.1347, allocations: 145.4 kB / 474.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.1348, allocations: 59.28 kB / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.135, allocations: 195.5 kB / 474.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.135, allocations: 29.7 kB / 474.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.1351, allocations: 112 kB / 474.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.1351, allocations: 27.61 kB / 474.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.1352, allocations: 33.7 kB / 474.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1353, allocations: 326.8 kB / 474.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-05/0.1354, allocations: 27.98 kB / 474.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.1355, allocations: 67.64 kB / 474.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.1357, allocations: 96.2 kB / 475 MB, free: 8.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1357, allocations: 0 / 475 MB, free: 8.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002533/0.136, allocations: 137.3 kB / 475.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.136, allocations: 8 kB / 475.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.136, allocations: 3.938 kB / 475.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.136, allocations: 0 / 475.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.805e-05/0.1361, allocations: 32.05 kB / 475.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1361, allocations: 0 / 475.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.601e-05/0.1362, allocations: 19.94 kB / 475.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.1362, allocations: 4 kB / 475.2 MB, free: 7.863 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.833e-05/0.1363, allocations: 132.3 kB / 475.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.1363, allocations: 15.81 kB / 475.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.09e-05/0.1364, allocations: 13.88 kB / 475.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1364, allocations: 7.922 kB / 475.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1364, allocations: 4 kB / 475.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1364, allocations: 3.984 kB / 475.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.1366, allocations: 205.6 kB / 475.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1366, allocations: 3.938 kB / 475.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.226e-05/0.1367, allocations: 12 kB / 475.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1367, allocations: 0 / 475.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1367, allocations: 0 / 475.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1367, allocations: 3.938 kB / 475.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/0.1367, allocations: 0 / 475.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.1371, allocations: 192.8 kB / 475.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.1372, allocations: 92.89 kB / 475.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.1372, allocations: 4 kB / 475.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.1373, allocations: 11.92 kB / 475.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.1373, allocations: 8 kB / 475.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.1373, allocations: 3.984 kB / 475.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1375, allocations: 141.2 kB / 476.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1375, allocations: 4.062 kB / 476.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.1377, allocations: 32.11 kB / 476.1 MB, free: 6.898 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0008782/0.1386, allocations: 404 kB / 476.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1388, allocations: 83.89 kB / 476.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.1388, allocations: 0 / 476.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.457e-05/0.1389, allocations: 40.17 kB / 476.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.1392, allocations: 35.97 kB / 476.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005125/0.1398, allocations: 295.9 kB / 477 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.14, allocations: 0.7161 MB / 477.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.73e-05/0.1401, allocations: 17.41 kB / 477.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.1402, allocations: 23.44 kB / 477.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1402, allocations: 3.938 kB / 477.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of Templates: time 0.00443/0.1446, allocations: 1.852 MB / 479.6 MB, free: 3.559 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches