Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001938/0.001938, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.348/1.348, allocations: 222.9 MB / 243 MB, free: 15.17 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.2257/0.2257, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001207, allocations: 71.33 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1147, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.00311/0.1178, allocations: 1.699 MB / 472.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1193, allocations: 0.8808 MB / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.878e-05/0.1194, allocations: 3.938 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.1196, allocations: 47.81 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.1199, allocations: 67.69 kB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1202, allocations: 103.2 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.1204, allocations: 99.69 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.351e-05/0.1205, allocations: 16.22 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.429e-05/0.1206, allocations: 35.8 kB / 473.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.818e-05/0.1207, allocations: 35.78 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.1207, allocations: 4 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1208, allocations: 39.98 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.1209, allocations: 31.91 kB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.109e-05/0.121, allocations: 43.62 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.1212, allocations: 139.5 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1212, allocations: 0 / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1212, allocations: 4 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.1212, allocations: 0 / 473.9 MB, free: 10.4 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005648/0.1218, allocations: 434.7 kB / 474.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1218, allocations: 12.03 kB / 474.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.98e-05/0.1219, allocations: 16.73 kB / 474.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.1222, allocations: 221 kB / 474.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1222, allocations: 384 / 474.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.1223, allocations: 12.03 kB / 474.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.1224, allocations: 57.67 kB / 474.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1225, allocations: 3.938 kB / 474.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1225, allocations: 3.984 kB / 474.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1225, allocations: 0 / 474.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.911e-05/0.1226, allocations: 19.94 kB / 474.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.123, allocations: 296.9 kB / 475 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1232, allocations: 66.61 kB / 475.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.441e-05/0.1232, allocations: 16.86 kB / 475.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1233, allocations: 7.922 kB / 475.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.1234, allocations: 67.39 kB / 475.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1235, allocations: 4 kB / 475.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000585/0.124, allocations: 177 kB / 475.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.1241, allocations: 63.39 kB / 475.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.1244, allocations: 271.8 kB / 475.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1244, allocations: 29.7 kB / 475.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.1245, allocations: 112.1 kB / 475.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.1245, allocations: 23.66 kB / 475.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.1246, allocations: 25.7 kB / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1247, allocations: 330.8 kB / 476.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/0.1248, allocations: 19.98 kB / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/0.1249, allocations: 41.7 kB / 476.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.125, allocations: 61.64 kB / 476.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.125, allocations: 0 / 476.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001992/0.1252, allocations: 105.4 kB / 476.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1252, allocations: 11.12 kB / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1253, allocations: 0 / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1253, allocations: 4.031 kB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.363e-05/0.1254, allocations: 15.98 kB / 476.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1254, allocations: 4 kB / 476.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.175e-05/0.1254, allocations: 7.938 kB / 476.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1255, allocations: 4 kB / 476.4 MB, free: 7.668 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001156/0.1256, allocations: 133.8 kB / 476.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.1256, allocations: 15.81 kB / 476.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.1257, allocations: 21.39 kB / 476.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1257, allocations: 0 / 476.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1257, allocations: 4 kB / 476.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.1257, allocations: 3.938 kB / 476.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004473/0.1262, allocations: 407.2 kB / 477 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1262, allocations: 0 / 477 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.1262, allocations: 11.94 kB / 477 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.1262, allocations: 4 kB / 477 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.1263, allocations: 3.938 kB / 477 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1263, allocations: 4.547 kB / 477 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1263, allocations: 8.031 kB / 477 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.1265, allocations: 204.4 kB / 477.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.1266, allocations: 88.92 kB / 477.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.1266, allocations: 7.938 kB / 477.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.1267, allocations: 4 kB / 477.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.1267, allocations: 19.91 kB / 477.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.1268, allocations: 8 kB / 477.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.1269, allocations: 209.4 kB / 477.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.127, allocations: 0 / 477.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1272, allocations: 24 kB / 477.6 MB, free: 6.406 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: 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001015/0.1282, allocations: 459.6 kB / 478 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.1284, allocations: 59.91 kB / 478.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1285, allocations: 4 kB / 478.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.213e-05/0.1285, allocations: 31.97 kB / 478.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1289, allocations: 27.11 kB / 478.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.1294, allocations: 295.8 kB / 478.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.1297, allocations: 0.7197 MB / 479.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.345e-05/0.1297, allocations: 13.2 kB / 479.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.1298, allocations: 19.42 kB / 479.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1298, allocations: 4 kB / 479.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of Templates: time 0.004324/0.1341, allocations: 1.735 MB / 480.9 MB, free: 3.191 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches