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.0008102/0.0008102, allocations: 95.39 kB / 18 MB, free: 5.602 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.0008705/0.0008706, allocations: 181.8 kB / 18.91 MB, free: 4.738 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.343/1.343, allocations: 223.3 MB / 243 MB, free: 160 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2117/0.2117, allocations: 44.25 MB / 338.3 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003411, allocations: 12.66 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1179, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002685/0.1206, allocations: 1.641 MB / 474.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1225, allocations: 1.018 MB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.1227, allocations: 3.938 kB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007364/0.1235, allocations: 198.3 kB / 475.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004496/0.1239, allocations: 135.6 kB / 475.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006851/0.1246, allocations: 202.6 kB / 476.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003805/0.125, allocations: 251.2 kB / 476.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1252, allocations: 25.69 kB / 476.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.1254, allocations: 95.55 kB / 476.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.1256, allocations: 99.53 kB / 476.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.1256, allocations: 4 kB / 476.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.1258, allocations: 43.98 kB / 476.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.65e-05/0.1259, allocations: 47.81 kB / 476.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.126, allocations: 105.1 kB / 476.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.1262, allocations: 175.9 kB / 476.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1263, allocations: 3.938 kB / 476.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1263, allocations: 4 kB / 476.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1263, allocations: 0 / 476.9 MB, free: 9.297 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.0008492/0.1271, allocations: 0.5001 MB / 477.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.1272, allocations: 16.02 kB / 477.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/0.1273, allocations: 24.59 kB / 477.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.1277, allocations: 283.6 kB / 477.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1277, allocations: 4.312 kB / 477.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.1277, allocations: 12.12 kB / 477.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.128, allocations: 104.2 kB / 477.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.128, allocations: 0 / 477.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.128, allocations: 3.938 kB / 477.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.128, allocations: 4 kB / 477.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.1282, allocations: 39.97 kB / 477.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.1288, allocations: 369.6 kB / 478.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.1291, allocations: 125.2 kB / 478.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.1292, allocations: 45.7 kB / 478.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.1292, allocations: 4 kB / 478.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.1295, allocations: 116.9 kB / 478.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.1295, allocations: 0 / 478.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004871/0.13, allocations: 181.3 kB / 478.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/0.1301, allocations: 110.8 kB / 478.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.1305, allocations: 327 kB / 479.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.1305, allocations: 33.7 kB / 479.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1306, allocations: 132.1 kB / 479.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.1307, allocations: 39.55 kB / 479.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.1307, allocations: 17.72 kB / 479.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1309, allocations: 338.8 kB / 479.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.761e-05/0.131, allocations: 39.92 kB / 479.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.1311, allocations: 73.12 kB / 479.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.1313, allocations: 95.89 kB / 479.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1313, allocations: 0 / 479.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003146/0.1317, allocations: 153.2 kB / 480.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1317, allocations: 4 kB / 480.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1317, allocations: 4 kB / 480.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1317, allocations: 0 / 480.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1318, allocations: 23.98 kB / 480.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1319, allocations: 0 / 480.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.132, allocations: 20 kB / 480.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.132, allocations: 7.938 kB / 480.1 MB, free: 5.797 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.0001516/0.1321, allocations: 153.8 kB / 480.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.1323, allocations: 23.72 kB / 480.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.298e-05/0.1323, allocations: 25.73 kB / 480.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1323, allocations: 4 kB / 480.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1323, allocations: 0 / 480.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1324, allocations: 0 / 480.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.1326, allocations: 249.5 kB / 480.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1327, allocations: 11.94 kB / 480.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.1327, allocations: 4 kB / 480.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1327, allocations: 4 kB / 480.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.1327, allocations: 7.984 kB / 480.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1327, allocations: 0 / 480.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.1328, allocations: 4 kB / 480.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.1331, allocations: 185.5 kB / 480.8 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.1332, allocations: 108.8 kB / 480.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.1332, allocations: 0 / 480.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.213e-05/0.1333, allocations: 16.11 kB / 480.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.1334, allocations: 11.98 kB / 480.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.1334, allocations: 7.938 kB / 480.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002731/0.1337, allocations: 249.9 kB / 481.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1337, allocations: 0 / 481.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.134, allocations: 36 kB / 481.2 MB, free: 4.613 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.001076/0.1351, allocations: 427.7 kB / 481.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.1353, allocations: 92.02 kB / 481.7 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1354, allocations: 0 / 481.7 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.1355, allocations: 48.23 kB / 481.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.1359, allocations: 64.81 kB / 481.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007422/0.1367, allocations: 453.2 kB / 482.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.137, allocations: 0.744 MB / 483 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.48e-05/0.1371, allocations: 27.42 kB / 483 MB, free: 2.871 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1371, allocations: 0 / 483 MB, free: 2.871 MB / 350.1 MB Notification: Performance of Templates: time 0.006071/0.1432, allocations: 3.192 MB / 486.2 MB, free: 15.69 MB / 366.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