Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 110.5 kB / 17.32 MB, free: 6.008 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.001356/0.001356, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.419/1.419, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2077/0.2077, allocations: 44.18 MB / 336.2 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 58.09 kB / 407.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1276, allocations: 60.84 MB / 468.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.00337/0.131, allocations: 1.772 MB / 470.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1324, allocations: 0.8809 MB / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.462e-05/0.1325, allocations: 0 / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.1329, allocations: 75.83 kB / 471.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.1332, allocations: 71.78 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.1335, allocations: 99.77 kB / 471.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.1337, allocations: 119.7 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1339, allocations: 16 kB / 471.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.134, allocations: 47.78 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1341, allocations: 71.73 kB / 471.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.1341, allocations: 7.938 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.1342, allocations: 59.97 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.1343, allocations: 27.92 kB / 472 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.833e-05/0.1344, allocations: 31.75 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.1346, allocations: 139.8 kB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1346, allocations: 0 / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1346, allocations: 0 / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1347, allocations: 4 kB / 472.1 MB, free: 11.31 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005401/0.1352, allocations: 430.9 kB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1352, allocations: 8.031 kB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.1353, allocations: 16.75 kB / 472.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.1355, allocations: 212.5 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1355, allocations: 384 / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.1356, allocations: 20.06 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.1357, allocations: 61.66 kB / 472.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1358, allocations: 3.906 kB / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1358, allocations: 0 / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1358, allocations: 0 / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.214e-05/0.1359, allocations: 23.98 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.1363, allocations: 304.7 kB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.1365, allocations: 66.48 kB / 473.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.276e-05/0.1366, allocations: 24.97 kB / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1367, allocations: 0 / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.1369, allocations: 71.33 kB / 473.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.1369, allocations: 0 / 473.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008106/0.1377, allocations: 241.7 kB / 473.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.1378, allocations: 55.34 kB / 473.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.138, allocations: 226.7 kB / 473.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.138, allocations: 25.7 kB / 473.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.1381, allocations: 120 kB / 474 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.1382, allocations: 35.55 kB / 474 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.1382, allocations: 25.72 kB / 474.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1384, allocations: 326.8 kB / 474.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.261e-05/0.1385, allocations: 31.98 kB / 474.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.055e-05/0.1386, allocations: 44.2 kB / 474.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.1387, allocations: 89.58 kB / 474.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1387, allocations: 0 / 474.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002256/0.139, allocations: 125.4 kB / 474.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.139, allocations: 12.03 kB / 474.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.139, allocations: 0 / 474.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.139, allocations: 0 / 474.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.232e-05/0.1391, allocations: 19.98 kB / 474.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.1391, allocations: 7.938 kB / 474.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.858e-05/0.1392, allocations: 4 kB / 474.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1392, allocations: 4 kB / 474.7 MB, free: 8.492 MB / 350.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001247/0.1393, allocations: 133.8 kB / 474.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.1394, allocations: 15.81 kB / 474.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.1394, allocations: 37.47 kB / 474.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1394, allocations: 3.984 kB / 474.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.1394, allocations: 3.938 kB / 474.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1394, allocations: 0 / 474.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.14, allocations: 452 kB / 475.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.14, allocations: 0 / 475.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.1401, allocations: 16.06 kB / 475.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1401, allocations: 0 / 475.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.1401, allocations: 8 kB / 475.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1401, allocations: 96 / 475.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1401, allocations: 3.938 kB / 475.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.1404, allocations: 236.9 kB / 475.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.1404, allocations: 89.02 kB / 475.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.1405, allocations: 0 / 475.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.1405, allocations: 11.98 kB / 475.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.1406, allocations: 4 kB / 475.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.1406, allocations: 11.92 kB / 475.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.1408, allocations: 172.3 kB / 475.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1408, allocations: 0 / 475.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.1411, allocations: 31.91 kB / 475.9 MB, free: 7.176 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001187/0.1422, allocations: 0.5081 MB / 476.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.1425, allocations: 91.78 kB / 476.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1425, allocations: 0 / 476.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.728e-05/0.1426, allocations: 43.92 kB / 476.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1429, allocations: 23.92 kB / 476.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005363/0.1435, allocations: 308.8 kB / 476.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.1438, allocations: 0.7272 MB / 477.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.376e-05/0.1439, allocations: 16.62 kB / 477.6 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.144, allocations: 19.44 kB / 477.6 MB, free: 5.594 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.144, allocations: 0 / 477.6 MB, free: 5.594 MB / 350.1 MB Notification: Performance of Templates: time 0.004851/0.1488, allocations: 1.939 MB / 479.6 MB, free: 3.672 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches