Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002345/0.002344, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 94.23 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2924/0.2924, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.227e-05/2.231e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4121, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1628/0.5749, allocations: 87.75 MB / 0.5516 GB, free: 11.55 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.5753, allocations: 75.23 kB / 0.5517 GB, free: 11.48 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03228/0.6076, allocations: 6.873 MB / 0.5584 GB, free: 4.613 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6076, allocations: 0 / 0.5584 GB, free: 4.613 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.226e-05/0.6077, allocations: 4 kB / 0.5584 GB, free: 4.609 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008303/0.6085, allocations: 499.7 kB / 0.5589 GB, free: 4.07 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.6086, allocations: 8.031 kB / 0.5589 GB, free: 4.062 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.525e-05/0.6087, allocations: 27.72 kB / 0.5589 GB, free: 4.035 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007357/0.6095, allocations: 302.4 kB / 0.5592 GB, free: 3.695 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.6095, allocations: 0 / 0.5592 GB, free: 3.695 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.6095, allocations: 4 kB / 0.5592 GB, free: 3.691 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001525/0.6097, allocations: 35.98 kB / 0.5592 GB, free: 3.656 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.6099, allocations: 92.23 kB / 0.5593 GB, free: 3.551 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.61, allocations: 0 / 0.5593 GB, free: 3.551 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.61, allocations: 11.94 kB / 0.5593 GB, free: 3.539 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.61, allocations: 3.984 kB / 0.5593 GB, free: 3.535 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007249/0.6108, allocations: 366 kB / 0.5597 GB, free: 3.137 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.611, allocations: 109.4 kB / 0.5598 GB, free: 3.012 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.6112, allocations: 37.8 kB / 0.5598 GB, free: 2.969 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.6112, allocations: 0 / 0.5598 GB, free: 2.969 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.6115, allocations: 113 kB / 0.5599 GB, free: 2.84 MB / 395.1 MB Notification: Performance of pre-optimization done (n=11): time 2.084e-06/0.6115, allocations: 4 kB / 0.5599 GB, free: 2.836 MB / 395.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004528/0.6119, allocations: 141.3 kB / 0.5601 GB, free: 2.691 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.612, allocations: 102.8 kB / 0.5602 GB, free: 2.566 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/0.6126, allocations: 286.3 kB / 0.5604 GB, free: 2.281 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.6126, allocations: 33.7 kB / 0.5605 GB, free: 2.242 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.6127, allocations: 182.6 kB / 0.5606 GB, free: 2.062 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.413e-05/0.6128, allocations: 31.55 kB / 0.5607 GB, free: 2.031 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.6128, allocations: 0 / 0.5607 GB, free: 2.031 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.613, allocations: 322.8 kB / 0.561 GB, free: 1.707 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.126e-05/0.6131, allocations: 28 kB / 0.561 GB, free: 1.68 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.6132, allocations: 73.14 kB / 0.5611 GB, free: 1.59 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.6134, allocations: 35.92 kB / 0.5611 GB, free: 1.555 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.6134, allocations: 0 / 0.5611 GB, free: 1.555 MB / 395.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003134/0.6137, allocations: 117.8 kB / 0.5612 GB, free: 1.434 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.6138, allocations: 8 kB / 0.5612 GB, free: 1.426 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6138, allocations: 0 / 0.5612 GB, free: 1.426 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.6138, allocations: 0 / 0.5612 GB, free: 1.426 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.614, allocations: 23.98 kB / 0.5613 GB, free: 1.402 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.6141, allocations: 3.984 kB / 0.5613 GB, free: 1.398 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.6143, allocations: 15.89 kB / 0.5613 GB, free: 1.383 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.6143, allocations: 4 kB / 0.5613 GB, free: 1.379 MB / 395.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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001238/0.6144, allocations: 120.9 kB / 0.5614 GB, free: 1.254 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.484e-05/0.6145, allocations: 23.72 kB / 0.5614 GB, free: 1.23 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004634/0.615, allocations: 159.5 kB / 0.5616 GB, free: 1.07 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.615, allocations: 4 kB / 0.5616 GB, free: 1.066 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.615, allocations: 0 / 0.5616 GB, free: 1.066 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.615, allocations: 0 / 0.5616 GB, free: 1.066 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.6154, allocations: 246 kB / 0.5618 GB, free: 0.7891 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6154, allocations: 0 / 0.5618 GB, free: 0.7891 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.6155, allocations: 8 kB / 0.5618 GB, free: 0.7812 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.6155, allocations: 4 kB / 0.5618 GB, free: 0.7773 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.6156, allocations: 4 kB / 0.5618 GB, free: 0.7734 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.6156, allocations: 7.922 kB / 0.5618 GB, free: 0.7656 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6156, allocations: 0 / 0.5618 GB, free: 0.7656 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004633/0.6161, allocations: 196.8 kB / 0.562 GB, free: 0.5469 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.6162, allocations: 116.7 kB / 0.5621 GB, free: 424 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-05/0.6163, allocations: 12.19 kB / 0.5621 GB, free: 412 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.6165, allocations: 11.98 kB / 0.5622 GB, free: 400 kB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.6166, allocations: 7.984 kB / 0.5622 GB, free: 392 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.6166, allocations: 4 kB / 0.5622 GB, free: 388 kB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0004171/0.617, allocations: 234 kB / 0.5624 GB, free: 152 kB / 395.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6171, allocations: 0 / 0.5624 GB, free: 152 kB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004787/0.6175, allocations: 43.94 kB / 0.5624 GB, free: 108 kB / 395.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001187/0.6188, allocations: 362.3 kB / 0.5628 GB, free: 15.78 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0004114/0.6192, allocations: 87.91 kB / 0.5629 GB, free: 15.7 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.6192, allocations: 0 / 0.5629 GB, free: 15.7 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.6194, allocations: 43.98 kB / 0.5629 GB, free: 15.65 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006315/0.62, allocations: 71.39 kB / 0.563 GB, free: 15.59 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008936/0.621, allocations: 328.7 kB / 0.5633 GB, free: 15.23 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.6214, allocations: 0.7438 MB / 0.564 GB, free: 14.46 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.6216, allocations: 27.42 kB / 0.564 GB, free: 14.43 MB / 411.1 MB Notification: Performance of SimCode: time 1.153e-06/0.6216, allocations: 0 / 0.564 GB, free: 14.43 MB / 411.1 MB Notification: Performance of Templates: time 0.009141/0.6307, allocations: 3.293 MB / 0.5673 GB, free: 11.14 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches