Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.001313/0.001313, allocations: 188.1 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2079/0.2079, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.91 kB / 441.9 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1321, allocations: 57.8 MB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004224/0.1364, allocations: 1.837 MB / 0.4898 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1379, allocations: 0.9014 MB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.394e-05/0.138, allocations: 3.938 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006241/0.1387, allocations: 255.4 kB / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.139, allocations: 187.4 kB / 0.4911 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.1395, allocations: 143.7 kB / 0.4912 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003734/0.1399, allocations: 243.3 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.14, allocations: 33.5 kB / 0.4915 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.1402, allocations: 123.6 kB / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.1404, allocations: 179.5 kB / 0.4917 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.1404, allocations: 8 kB / 0.4918 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-05/0.1405, allocations: 39.98 kB / 0.4918 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.845e-05/0.1406, allocations: 63.7 kB / 0.4919 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.139e-05/0.1407, allocations: 87.34 kB / 0.4919 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.141, allocations: 227.2 kB / 0.4922 GB, free: 7.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.141, allocations: 0 / 0.4922 GB, free: 7.402 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.141, allocations: 4 kB / 0.4922 GB, free: 7.398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.912e-06/0.141, allocations: 0 / 0.4922 GB, free: 7.398 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007145/0.1417, allocations: 0.5562 MB / 0.4927 GB, free: 6.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1418, allocations: 15.89 kB / 0.4927 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.218e-05/0.1418, allocations: 28.56 kB / 0.4927 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.1422, allocations: 284 kB / 0.493 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.1422, allocations: 8.375 kB / 0.493 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.1423, allocations: 8.125 kB / 0.493 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.1425, allocations: 107.2 kB / 0.4931 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1425, allocations: 0 / 0.4931 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1425, allocations: 3.984 kB / 0.4931 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1425, allocations: 0 / 0.4931 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1427, allocations: 35.98 kB / 0.4932 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005756/0.1432, allocations: 464.8 kB / 0.4936 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.1435, allocations: 117.3 kB / 0.4937 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.868e-05/0.1436, allocations: 37.7 kB / 0.4938 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.1437, allocations: 8 kB / 0.4938 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.1439, allocations: 113 kB / 0.4939 GB, free: 5.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.1439, allocations: 0 / 0.4939 GB, free: 5.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008497/0.1447, allocations: 376.3 kB / 0.4942 GB, free: 5.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.1448, allocations: 85.05 kB / 0.4943 GB, free: 4.965 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/0.1453, allocations: 481.7 kB / 0.4948 GB, free: 4.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1453, allocations: 29.64 kB / 0.4948 GB, free: 4.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.1454, allocations: 168.3 kB / 0.495 GB, free: 4.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.1455, allocations: 51.38 kB / 0.495 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.1455, allocations: 29.72 kB / 0.495 GB, free: 4.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1457, allocations: 350.8 kB / 0.4954 GB, free: 3.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.821e-05/0.1458, allocations: 39.98 kB / 0.4954 GB, free: 3.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.1459, allocations: 78.97 kB / 0.4955 GB, free: 3.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.1461, allocations: 119.3 kB / 0.4956 GB, free: 3.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1461, allocations: 4 kB / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002974/0.1464, allocations: 189.1 kB / 0.4958 GB, free: 3.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1464, allocations: 4 kB / 0.4958 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.1465, allocations: 7.984 kB / 0.4958 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1465, allocations: 0 / 0.4958 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.1466, allocations: 35.92 kB / 0.4958 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1466, allocations: 3.938 kB / 0.4958 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.676e-05/0.1467, allocations: 8 kB / 0.4958 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.1468, allocations: 8 kB / 0.4959 GB, free: 3.328 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001616/0.1469, allocations: 169.8 kB / 0.496 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.147, allocations: 35.61 kB / 0.496 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.98e-05/0.147, allocations: 38.81 kB / 0.4961 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1471, allocations: 0 / 0.4961 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.1471, allocations: 7.938 kB / 0.4961 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1471, allocations: 0 / 0.4961 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007152/0.1478, allocations: 0.6284 MB / 0.4967 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.1478, allocations: 0 / 0.4967 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.737e-05/0.1479, allocations: 27.86 kB / 0.4967 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1479, allocations: 0 / 0.4967 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.1479, allocations: 8 kB / 0.4967 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1479, allocations: 4 kB / 0.4967 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1479, allocations: 80 / 0.4967 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.1483, allocations: 379.8 kB / 0.4971 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.1484, allocations: 104.7 kB / 0.4972 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.1484, allocations: 8 kB / 0.4972 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.1486, allocations: 4 kB / 0.4972 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.1486, allocations: 11.98 kB / 0.4972 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.1487, allocations: 11.98 kB / 0.4972 GB, free: 1.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003794/0.1491, allocations: 359.1 kB / 0.4976 GB, free: 1.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1491, allocations: 0 / 0.4976 GB, free: 1.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003162/0.1494, allocations: 43.98 kB / 0.4976 GB, free: 1.402 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001047/0.1504, allocations: 474.7 kB / 0.4981 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.1507, allocations: 115.9 kB / 0.4982 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1508, allocations: 0 / 0.4982 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.1509, allocations: 59.91 kB / 0.4982 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.1514, allocations: 65.19 kB / 0.4983 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008374/0.1523, allocations: 0.5263 MB / 0.4988 GB, free: 188 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.1526, allocations: 0.771 MB / 0.4996 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.895e-05/0.1527, allocations: 30.56 kB / 0.4996 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.1528, allocations: 27.42 kB / 0.4996 GB, free: 15.33 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1528, allocations: 0 / 0.4996 GB, free: 15.33 MB / 398.1 MB Notification: Performance of Templates: time 0.00623/0.159, allocations: 2.772 MB / 0.5023 GB, free: 12.57 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches