Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 114.6 kB / 17.04 MB, free: 6.129 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.001279/0.001279, allocations: 192.6 kB / 17.98 MB, free: 5.227 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.856/1.856, allocations: 205.1 MB / 223.8 MB, free: 12.3 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.2472/0.2472, allocations: 43.52 MB / 314.7 MB, free: 476 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.001647/0.001648, allocations: 75.89 kB / 442.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1221, allocations: 57.78 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003065/0.1252, allocations: 1.705 MB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.1273, allocations: 1.406 MB / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.539e-05/0.1274, allocations: 3.938 kB / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.1278, allocations: 35.83 kB / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.128, allocations: 59.7 kB / 0.4917 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.1282, allocations: 95.69 kB / 0.4918 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.1284, allocations: 95.77 kB / 0.4919 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1285, allocations: 20.19 kB / 0.4919 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.672e-05/0.1286, allocations: 39.8 kB / 0.4919 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.1288, allocations: 43.77 kB / 0.492 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.1288, allocations: 4 kB / 0.492 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1289, allocations: 55.98 kB / 0.492 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.759e-05/0.129, allocations: 19.97 kB / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.129, allocations: 31.8 kB / 0.4921 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.1292, allocations: 123.6 kB / 0.4922 GB, free: 8.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1292, allocations: 0 / 0.4922 GB, free: 8.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1293, allocations: 0 / 0.4922 GB, free: 8.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.1293, allocations: 3.938 kB / 0.4922 GB, free: 8.016 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005535/0.1298, allocations: 403 kB / 0.4926 GB, free: 7.574 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1299, allocations: 11.89 kB / 0.4926 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.1299, allocations: 12.78 kB / 0.4926 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.1302, allocations: 200.2 kB / 0.4928 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1302, allocations: 384 / 0.4928 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.1303, allocations: 16.12 kB / 0.4928 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1304, allocations: 67.33 kB / 0.4929 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1305, allocations: 0 / 0.4929 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1305, allocations: 4 kB / 0.4929 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1305, allocations: 0 / 0.4929 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.342e-05/0.1306, allocations: 19.97 kB / 0.4929 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.1309, allocations: 292.7 kB / 0.4932 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.1311, allocations: 66.61 kB / 0.4932 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.469e-05/0.1312, allocations: 16.86 kB / 0.4933 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.1312, allocations: 0 / 0.4933 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.1313, allocations: 75.38 kB / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.1313, allocations: 4 kB / 0.4933 GB, free: 6.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005246/0.1319, allocations: 161.3 kB / 0.4935 GB, free: 6.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.1319, allocations: 77.11 kB / 0.4936 GB, free: 6.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.1321, allocations: 149.8 kB / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.1321, allocations: 29.7 kB / 0.4937 GB, free: 6.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.1322, allocations: 96.12 kB / 0.4938 GB, free: 6.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.1322, allocations: 23.66 kB / 0.4938 GB, free: 6.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.1323, allocations: 25.7 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1324, allocations: 326.8 kB / 0.4942 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.753e-05/0.1324, allocations: 19.98 kB / 0.4942 GB, free: 5.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.689e-05/0.1325, allocations: 46.5 kB / 0.4942 GB, free: 5.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.1326, allocations: 61.69 kB / 0.4943 GB, free: 5.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1326, allocations: 0 / 0.4943 GB, free: 5.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001857/0.1328, allocations: 101.6 kB / 0.4944 GB, free: 5.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1328, allocations: 4 kB / 0.4944 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1329, allocations: 80 / 0.4944 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1329, allocations: 3.984 kB / 0.4944 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.751e-05/0.133, allocations: 16 kB / 0.4944 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.133, allocations: 3.984 kB / 0.4944 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/0.133, allocations: 12.12 kB / 0.4944 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1331, allocations: 3.938 kB / 0.4944 GB, free: 5.461 MB / 382.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 (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 0.0001035/0.1332, allocations: 137.7 kB / 0.4946 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.1332, allocations: 11.81 kB / 0.4946 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.1332, allocations: 12.72 kB / 0.4946 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1332, allocations: 0 / 0.4946 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1333, allocations: 0 / 0.4946 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1333, allocations: 7.922 kB / 0.4946 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.1337, allocations: 387.3 kB / 0.495 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1337, allocations: 4 kB / 0.495 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.1337, allocations: 4 kB / 0.495 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1338, allocations: 8.031 kB / 0.495 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1338, allocations: 7.922 kB / 0.495 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1338, allocations: 384 / 0.495 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1338, allocations: 4 kB / 0.495 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.134, allocations: 196.2 kB / 0.4952 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.1341, allocations: 85.02 kB / 0.4953 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.1341, allocations: 15.94 kB / 0.4953 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.1342, allocations: 4 kB / 0.4953 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.1342, allocations: 7.984 kB / 0.4953 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1342, allocations: 4 kB / 0.4953 GB, free: 4.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.1343, allocations: 118.7 kB / 0.4954 GB, free: 4.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1343, allocations: 0 / 0.4954 GB, free: 4.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.1346, allocations: 31.98 kB / 0.4954 GB, free: 4.328 MB / 382.1 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.001125/0.1358, allocations: 0.4951 MB / 0.4959 GB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.136, allocations: 67.89 kB / 0.496 GB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.136, allocations: 0 / 0.496 GB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.328e-05/0.136, allocations: 31.94 kB / 0.496 GB, free: 3.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.1364, allocations: 31.09 kB / 0.496 GB, free: 3.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.137, allocations: 216.5 kB / 0.4963 GB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.1374, allocations: 0.7042 MB / 0.4969 GB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.1375, allocations: 19.42 kB / 0.497 GB, free: 2.754 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1375, allocations: 0 / 0.497 GB, free: 2.754 MB / 382.1 MB Notification: Performance of Templates: time 0.003897/0.1414, allocations: 2.044 MB / 0.499 GB, free: 0.7109 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches