Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 110.7 kB / 17.04 MB, free: 5.812 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.001253/0.001254, allocations: 196 kB / 17.97 MB, free: 5.027 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.454/1.454, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2414/0.2414, allocations: 43.52 MB / 314.7 MB, free: 488 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.002427/0.002427, allocations: 74.81 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1327, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002817/0.1355, allocations: 1.692 MB / 443.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1366, allocations: 0.8 MB / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.1367, allocations: 3.938 kB / 444.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.137, allocations: 35.83 kB / 444.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.1372, allocations: 59.7 kB / 444.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.1374, allocations: 87.75 kB / 444.7 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.1376, allocations: 99.69 kB / 444.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1377, allocations: 12.22 kB / 444.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.242e-05/0.1378, allocations: 35.8 kB / 444.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.365e-05/0.1379, allocations: 35.84 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1379, allocations: 0 / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.249e-05/0.138, allocations: 47.92 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.1381, allocations: 19.92 kB / 444.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.1381, allocations: 35.73 kB / 444.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.1383, allocations: 115.6 kB / 445 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1383, allocations: 4 kB / 445.1 MB, free: 3.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1383, allocations: 0 / 445.1 MB, free: 3.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1383, allocations: 0 / 445.1 MB, free: 3.055 MB / 318.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.0004781/0.1388, allocations: 414.9 kB / 445.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.1389, allocations: 15.89 kB / 445.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.1389, allocations: 8.844 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.1392, allocations: 220.6 kB / 445.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1392, allocations: 4.375 kB / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.1392, allocations: 8.125 kB / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.1394, allocations: 53.67 kB / 445.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1394, allocations: 0 / 445.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1394, allocations: 3.984 kB / 445.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.1394, allocations: 0 / 445.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.829e-05/0.1395, allocations: 19.98 kB / 445.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.1398, allocations: 284.8 kB / 446.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1399, allocations: 62.67 kB / 446.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.704e-05/0.14, allocations: 16.86 kB / 446.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.14, allocations: 4 kB / 446.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.1401, allocations: 67.33 kB / 446.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1401, allocations: 4 kB / 446.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004917/0.1406, allocations: 173.5 kB / 446.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.1407, allocations: 59.34 kB / 446.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.1408, allocations: 199.3 kB / 446.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.1409, allocations: 25.7 kB / 446.7 MB, free: 1.246 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.1409, allocations: 108 kB / 446.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.1409, allocations: 27.67 kB / 446.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.141, allocations: 21.72 kB / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.038e-05/0.1411, allocations: 334.8 kB / 447.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-05/0.1411, allocations: 24.05 kB / 447.2 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.366e-05/0.1412, allocations: 37.64 kB / 447.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.366e-05/0.1413, allocations: 61.66 kB / 447.3 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1413, allocations: 0 / 447.3 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001549/0.1414, allocations: 101.6 kB / 447.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.1415, allocations: 8 kB / 447.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1415, allocations: 4.078 kB / 447.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1415, allocations: 0 / 447.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.1416, allocations: 19.92 kB / 447.4 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1416, allocations: 3.984 kB / 447.4 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.396e-05/0.1416, allocations: 11.94 kB / 447.4 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1417, allocations: 4 kB / 447.4 MB, free: 468 kB / 318.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 6.87e-05/0.1417, allocations: 125.8 kB / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.1418, allocations: 23.81 kB / 447.6 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.836e-05/0.1418, allocations: 13.41 kB / 447.6 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1418, allocations: 0 / 447.6 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1418, allocations: 0 / 447.6 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1418, allocations: 3.938 kB / 447.6 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003688/0.1422, allocations: 391.3 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1422, allocations: 0 / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.1423, allocations: 8 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1423, allocations: 0 / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1423, allocations: 11.97 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.1423, allocations: 0 / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1423, allocations: 3.938 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.1425, allocations: 204.3 kB / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.1426, allocations: 88.92 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.1426, allocations: 7.938 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/0.1427, allocations: 4 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.1427, allocations: 7.984 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.1427, allocations: 11.94 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.1429, allocations: 148.9 kB / 448.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1429, allocations: 0 / 448.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1431, allocations: 24 kB / 448.5 MB, free: 15.29 MB / 334.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.001061/0.1442, allocations: 476.2 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.1444, allocations: 51.97 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1444, allocations: 0 / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.343e-05/0.1445, allocations: 35.92 kB / 449 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.1448, allocations: 28.05 kB / 449 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.1453, allocations: 231.6 kB / 449.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.1455, allocations: 0.7002 MB / 450 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.964e-05/0.1456, allocations: 20.84 kB / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.1456, allocations: 23.44 kB / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of SimCode: time 1.483e-06/0.1456, allocations: 0 / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of Templates: time 0.004003/0.1497, allocations: 1.697 MB / 451.7 MB, free: 12.09 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches