Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001365/0.001365, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.3 MB / 213.7 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 78.64 kB / 261.7 MB, free: 1.625 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2277/0.2277, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.816e-05/1.811e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.135, allocations: 58.86 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4722/0.6073, allocations: 86.82 MB / 0.5507 GB, free: 8.117 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/0.6075, allocations: 82.66 kB / 0.5508 GB, free: 8.074 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01434/0.6219, allocations: 6.428 MB / 0.5571 GB, free: 2.871 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.6219, allocations: 0 / 0.5571 GB, free: 2.871 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.404e-05/0.6219, allocations: 12 kB / 0.5571 GB, free: 2.859 MB / 362.7 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.0006292/0.6226, allocations: 0.6029 MB / 0.5577 GB, free: 2.234 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.6226, allocations: 8.031 kB / 0.5577 GB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.43e-05/0.6227, allocations: 47.44 kB / 0.5577 GB, free: 2.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006861/0.6234, allocations: 483.4 kB / 0.5582 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.6234, allocations: 0 / 0.5582 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.6235, allocations: 4 kB / 0.5582 GB, free: 1.719 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.562e-05/0.6236, allocations: 26.55 kB / 0.5582 GB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.6237, allocations: 93.48 kB / 0.5583 GB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.6237, allocations: 0 / 0.5583 GB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.6237, allocations: 0 / 0.5583 GB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.6237, allocations: 0 / 0.5583 GB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.6241, allocations: 370.1 kB / 0.5587 GB, free: 1.266 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.6242, allocations: 88.05 kB / 0.5587 GB, free: 1.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.6243, allocations: 40.23 kB / 0.5588 GB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.6243, allocations: 4 kB / 0.5588 GB, free: 1.137 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.6245, allocations: 109.8 kB / 0.5589 GB, free: 1.027 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.6245, allocations: 0 / 0.5589 GB, free: 1.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002924/0.6248, allocations: 161.1 kB / 0.559 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.6248, allocations: 81.11 kB / 0.5591 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009243/0.6257, allocations: 0.9009 MB / 0.56 GB, free: 92 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.6258, allocations: 29.7 kB / 0.56 GB, free: 56 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.6259, allocations: 231.3 kB / 0.5603 GB, free: 15.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.626, allocations: 19.66 kB / 0.5603 GB, free: 15.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.626, allocations: 0 / 0.5603 GB, free: 15.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.6262, allocations: 381.1 kB / 0.5606 GB, free: 15.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/0.6262, allocations: 23.69 kB / 0.5607 GB, free: 15.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.815e-05/0.6263, allocations: 50.98 kB / 0.5607 GB, free: 15.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.511e-05/0.6264, allocations: 31.36 kB / 0.5607 GB, free: 15.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6264, allocations: 4 kB / 0.5607 GB, free: 15.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002278/0.6266, allocations: 155.5 kB / 0.5609 GB, free: 15.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.6266, allocations: 4 kB / 0.5609 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.6266, allocations: 4 kB / 0.5609 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.6267, allocations: 0 / 0.5609 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.6268, allocations: 23.98 kB / 0.5609 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.6268, allocations: 0 / 0.5609 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.6269, allocations: 15.84 kB / 0.5609 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.6269, allocations: 4 kB / 0.5609 GB, free: 15.27 MB / 378.7 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.6271, allocations: 127.9 kB / 0.5611 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-05/0.6272, allocations: 47.44 kB / 0.5611 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.6275, allocations: 187.9 kB / 0.5613 GB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.6275, allocations: 4 kB / 0.5613 GB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.6275, allocations: 64 / 0.5613 GB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.6275, allocations: 7.984 kB / 0.5613 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.6279, allocations: 362.8 kB / 0.5616 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6279, allocations: 4 kB / 0.5616 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.6279, allocations: 15.94 kB / 0.5617 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.628, allocations: 4 kB / 0.5617 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.628, allocations: 4 kB / 0.5617 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.628, allocations: 0 / 0.5617 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.628, allocations: 0 / 0.5617 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.6283, allocations: 217.7 kB / 0.5619 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.6285, allocations: 196.2 kB / 0.5621 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.254e-05/0.6286, allocations: 3.938 kB / 0.5621 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.6287, allocations: 15.98 kB / 0.5621 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.6288, allocations: 11.73 kB / 0.5621 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.6288, allocations: 4 kB / 0.5621 GB, free: 14.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007214/0.6295, allocations: 0.7126 MB / 0.5628 GB, free: 13.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6295, allocations: 0 / 0.5628 GB, free: 13.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003217/0.6298, allocations: 79.98 kB / 0.5629 GB, free: 13.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008442/0.6307, allocations: 362.6 kB / 0.5632 GB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.6309, allocations: 66.98 kB / 0.5633 GB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6309, allocations: 0 / 0.5633 GB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.58e-05/0.6309, allocations: 39.5 kB / 0.5633 GB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.6314, allocations: 72.86 kB / 0.5634 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.6325, allocations: 0.7712 MB / 0.5641 GB, free: 12.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.633, allocations: 0.8542 MB / 0.565 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00015/0.6332, allocations: 95.06 kB / 0.5651 GB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.6333, allocations: 43.36 kB / 0.5651 GB, free: 11.39 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6333, allocations: 0 / 0.5651 GB, free: 11.39 MB / 378.7 MB Notification: Performance of Templates: time 0.008279/0.6416, allocations: 3.964 MB / 0.569 GB, free: 7.457 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches