Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 110 kB / 17.86 MB, free: 5.504 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.0016/0.0016, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 242.4 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2081/0.2081, allocations: 44.18 MB / 336.8 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.3 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1254, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003156/0.1286, allocations: 1.977 MB / 471.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.1303, allocations: 1.041 MB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.127e-05/0.1304, allocations: 0 / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006375/0.131, allocations: 194.3 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.1313, allocations: 131.6 kB / 472.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.1318, allocations: 210.7 kB / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003278/0.1322, allocations: 251.3 kB / 473 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1323, allocations: 21.67 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.1325, allocations: 95.55 kB / 473.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.1327, allocations: 103.5 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.1327, allocations: 4 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.1328, allocations: 43.97 kB / 473.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.954e-05/0.1329, allocations: 51.83 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.1331, allocations: 83.41 kB / 473.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.1333, allocations: 179.9 kB / 473.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1333, allocations: 0 / 473.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1334, allocations: 0 / 473.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1334, allocations: 0 / 473.5 MB, free: 10.47 MB / 350.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.0009723/0.1343, allocations: 0.5428 MB / 474.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.1344, allocations: 8.031 kB / 474.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.12e-05/0.1345, allocations: 24.66 kB / 474.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.1349, allocations: 279.6 kB / 474.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.1349, allocations: 8.375 kB / 474.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.135, allocations: 16.12 kB / 474.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.1352, allocations: 100.2 kB / 474.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1353, allocations: 7.875 kB / 474.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.1353, allocations: 0 / 474.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.1353, allocations: 7.969 kB / 474.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.1354, allocations: 39.98 kB / 474.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.136, allocations: 377.5 kB / 474.9 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.1363, allocations: 113.2 kB / 475.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.1364, allocations: 45.7 kB / 475.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.1365, allocations: 0 / 475.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.1367, allocations: 124.9 kB / 475.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.1367, allocations: 0 / 475.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000488/0.1372, allocations: 181.3 kB / 475.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.1373, allocations: 102.8 kB / 475.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.1377, allocations: 331 kB / 475.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1377, allocations: 29.7 kB / 475.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.1378, allocations: 148.1 kB / 476 MB, free: 7.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.1379, allocations: 27.64 kB / 476 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.1379, allocations: 29.72 kB / 476 MB, free: 7.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1381, allocations: 342.8 kB / 476.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.933e-05/0.1382, allocations: 31.98 kB / 476.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.1383, allocations: 84.02 kB / 476.5 MB, free: 7.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.1385, allocations: 95.38 kB / 476.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1386, allocations: 0.5 kB / 476.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002875/0.1388, allocations: 153.3 kB / 476.7 MB, free: 6.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1389, allocations: 10.66 kB / 476.7 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1389, allocations: 0 / 476.7 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1389, allocations: 0 / 476.7 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.139, allocations: 23.98 kB / 476.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.139, allocations: 0 / 476.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.655e-05/0.1391, allocations: 19.95 kB / 476.8 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.1392, allocations: 7.938 kB / 476.8 MB, free: 6.914 MB / 350.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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.1393, allocations: 149.8 kB / 476.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.1394, allocations: 23.72 kB / 477 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.995e-05/0.1394, allocations: 25.73 kB / 477 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1394, allocations: 4 kB / 477 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1394, allocations: 0 / 477 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1395, allocations: 0 / 477 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.1397, allocations: 253.4 kB / 477.2 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1397, allocations: 4 kB / 477.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.1398, allocations: 11.98 kB / 477.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.1398, allocations: 0 / 477.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1398, allocations: 4 kB / 477.3 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1398, allocations: 0 / 477.3 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1398, allocations: 7.875 kB / 477.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.1401, allocations: 185.5 kB / 477.5 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.509e-05/0.1402, allocations: 100.8 kB / 477.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.1403, allocations: 4 kB / 477.6 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.1403, allocations: 7.984 kB / 477.6 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.1404, allocations: 12.11 kB / 477.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.1404, allocations: 11.94 kB / 477.6 MB, free: 6.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002534/0.1407, allocations: 241.9 kB / 477.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1407, allocations: 0 / 477.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.141, allocations: 39.98 kB / 477.9 MB, free: 5.746 MB / 350.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.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001113/0.1421, allocations: 431 kB / 478.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.1424, allocations: 91.89 kB / 478.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1424, allocations: 3.938 kB / 478.4 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.1425, allocations: 44.23 kB / 478.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.1429, allocations: 61.08 kB / 478.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007422/0.1437, allocations: 459.8 kB / 478.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.144, allocations: 0.7439 MB / 479.7 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.1441, allocations: 31.42 kB / 479.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1441, allocations: 0 / 479.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of Templates: time 0.005637/0.1498, allocations: 3.227 MB / 482.9 MB, free: 0.7852 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches