Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009332/0.0009333, allocations: 174.3 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008846/0.0008849, allocations: 93.05 kB / 271.3 MB, free: 8.242 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.4582/0.4582, allocations: 43.56 MB / 363.1 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004918, allocations: 16 kB / 432.6 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1576, allocations: 58.84 MB / 491.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4224/0.58, allocations: 88.76 MB / 0.5666 GB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.5804, allocations: 75.97 kB / 0.5667 GB, free: 13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01263/0.593, allocations: 4.23 MB / 0.5708 GB, free: 8.805 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.5931, allocations: 0 / 0.5708 GB, free: 8.805 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.696e-05/0.5931, allocations: 4 kB / 0.5708 GB, free: 8.801 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009154/0.5941, allocations: 493.4 kB / 0.5713 GB, free: 8.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.5941, allocations: 8.031 kB / 0.5713 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.501e-05/0.5942, allocations: 16.75 kB / 0.5713 GB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/0.5947, allocations: 231.9 kB / 0.5716 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.5948, allocations: 8.312 kB / 0.5716 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.5948, allocations: 12.36 kB / 0.5716 GB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.5951, allocations: 109.6 kB / 0.5717 GB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5951, allocations: 192 / 0.5717 GB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.5952, allocations: 3.938 kB / 0.5717 GB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.5952, allocations: 4 kB / 0.5717 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.5954, allocations: 56.91 kB / 0.5717 GB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008827/0.5963, allocations: 0.5165 MB / 0.5722 GB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.5967, allocations: 94.66 kB / 0.5723 GB, free: 7.102 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.5968, allocations: 36.84 kB / 0.5724 GB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.5968, allocations: 0 / 0.5724 GB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.5971, allocations: 95.95 kB / 0.5725 GB, free: 6.957 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.144e-06/0.5971, allocations: 4 kB / 0.5725 GB, free: 6.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005013/0.5976, allocations: 147.6 kB / 0.5726 GB, free: 6.805 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.5977, allocations: 51.41 kB / 0.5727 GB, free: 6.742 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.5979, allocations: 195.4 kB / 0.5728 GB, free: 6.535 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.598, allocations: 29.7 kB / 0.5729 GB, free: 6.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/0.5981, allocations: 116.2 kB / 0.573 GB, free: 6.383 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.5981, allocations: 31.62 kB / 0.573 GB, free: 6.352 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/0.5981, allocations: 7.938 kB / 0.573 GB, free: 6.344 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.5983, allocations: 326.8 kB / 0.5733 GB, free: 6.016 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.893e-05/0.5984, allocations: 31.97 kB / 0.5734 GB, free: 5.984 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.5985, allocations: 68.5 kB / 0.5734 GB, free: 5.902 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.5988, allocations: 110.2 kB / 0.5735 GB, free: 5.781 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5988, allocations: 3.938 kB / 0.5735 GB, free: 5.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003/0.5991, allocations: 137.3 kB / 0.5737 GB, free: 5.637 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.5991, allocations: 8 kB / 0.5737 GB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.5991, allocations: 0 / 0.5737 GB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.5992, allocations: 9.484 kB / 0.5737 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.5993, allocations: 27.98 kB / 0.5737 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.5993, allocations: 4 kB / 0.5737 GB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.667e-05/0.5994, allocations: 11.89 kB / 0.5737 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.5994, allocations: 12.41 kB / 0.5737 GB, free: 5.566 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked 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.000128/0.5995, allocations: 125.8 kB / 0.5739 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.5996, allocations: 15.8 kB / 0.5739 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003184/0.5999, allocations: 142.9 kB / 0.574 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.5999, allocations: 4 kB / 0.574 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5999, allocations: 0 / 0.574 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5999, allocations: 0 / 0.574 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.6001, allocations: 213.5 kB / 0.5742 GB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.6002, allocations: 7.938 kB / 0.5742 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.092e-05/0.6002, allocations: 11.98 kB / 0.5742 GB, free: 5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.6003, allocations: 4 kB / 0.5742 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.6003, allocations: 4 kB / 0.5742 GB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.6003, allocations: 0 / 0.5742 GB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6003, allocations: 0 / 0.5742 GB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.6007, allocations: 200.8 kB / 0.5744 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/0.6008, allocations: 93.03 kB / 0.5745 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.6008, allocations: 8.062 kB / 0.5745 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.885e-05/0.6009, allocations: 4 kB / 0.5745 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.601, allocations: 11.98 kB / 0.5745 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.601, allocations: 7.938 kB / 0.5746 GB, free: 4.637 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001484/0.6012, allocations: 145.1 kB / 0.5747 GB, free: 4.496 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6012, allocations: 3.938 kB / 0.5747 GB, free: 4.492 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002894/0.6015, allocations: 43.95 kB / 0.5747 GB, free: 4.449 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001054/0.6025, allocations: 421.1 kB / 0.5751 GB, free: 4.133 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.6028, allocations: 87.89 kB / 0.5752 GB, free: 4.047 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6028, allocations: 0 / 0.5752 GB, free: 4.047 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.6029, allocations: 39.92 kB / 0.5753 GB, free: 4.008 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.6033, allocations: 40.22 kB / 0.5753 GB, free: 3.969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.6039, allocations: 304.2 kB / 0.5756 GB, free: 3.656 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.6042, allocations: 0.7125 MB / 0.5763 GB, free: 2.918 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.005e-05/0.6043, allocations: 17.45 kB / 0.5763 GB, free: 2.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.6044, allocations: 19.44 kB / 0.5763 GB, free: 2.887 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6044, allocations: 0 / 0.5763 GB, free: 2.887 MB / 394.7 MB Notification: Performance of Templates: time 0.005235/0.6096, allocations: 1.804 MB / 0.5781 GB, free: 1.094 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches