Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001061/0.001061, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.388/1.388, allocations: 222.9 MB / 242.9 MB, free: 15.2 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.2007/0.2007, allocations: 44.19 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 64.78 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1132, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003227/0.1165, allocations: 1.688 MB / 471.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1179, allocations: 0.8808 MB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.632e-05/0.118, allocations: 3.938 kB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.1183, allocations: 39.83 kB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.1185, allocations: 55.69 kB / 472.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.1188, allocations: 111.2 kB / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.119, allocations: 91.75 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1191, allocations: 16.22 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.098e-05/0.1192, allocations: 43.73 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.084e-05/0.1193, allocations: 27.84 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1193, allocations: 4 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-05/0.1194, allocations: 39.98 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.1194, allocations: 15.92 kB / 472.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.374e-05/0.1195, allocations: 31.8 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.1197, allocations: 111.9 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1197, allocations: 4 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1197, allocations: 0 / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1197, allocations: 0 / 473.1 MB, free: 11.2 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.0005091/0.1202, allocations: 399 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1203, allocations: 12.03 kB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.1203, allocations: 12.83 kB / 473.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.1206, allocations: 200.7 kB / 473.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1206, allocations: 7.938 kB / 473.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.1206, allocations: 0 / 473.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1208, allocations: 61.66 kB / 473.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1208, allocations: 3.906 kB / 473.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1208, allocations: 3.984 kB / 473.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1208, allocations: 4 kB / 473.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.418e-05/0.1209, allocations: 23.86 kB / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.1212, allocations: 276.9 kB / 474.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.1214, allocations: 62.67 kB / 474.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.727e-05/0.1215, allocations: 20.84 kB / 474.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.1215, allocations: 4 kB / 474.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.1217, allocations: 67.33 kB / 474.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1217, allocations: 0 / 474.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005512/0.1223, allocations: 177.2 kB / 474.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.1224, allocations: 55.34 kB / 474.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1225, allocations: 158.4 kB / 474.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1225, allocations: 29.7 kB / 474.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.1226, allocations: 100 kB / 474.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.1226, allocations: 27.64 kB / 474.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.1227, allocations: 21.72 kB / 474.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1228, allocations: 318.8 kB / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.981e-05/0.1228, allocations: 27.98 kB / 475.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-05/0.1229, allocations: 37.7 kB / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.123, allocations: 53.66 kB / 475.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.123, allocations: 384 / 475.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001888/0.1232, allocations: 109.6 kB / 475.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1233, allocations: 8 kB / 475.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1233, allocations: 4.031 kB / 475.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1233, allocations: 3.938 kB / 475.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.737e-05/0.1234, allocations: 19.98 kB / 475.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1234, allocations: 4 kB / 475.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.327e-05/0.1235, allocations: 0 / 475.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.1235, allocations: 4 kB / 475.4 MB, free: 8.691 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.0001009/0.1236, allocations: 117.8 kB / 475.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.1236, allocations: 15.89 kB / 475.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.1237, allocations: 20.84 kB / 475.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1237, allocations: 0 / 475.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1237, allocations: 3.938 kB / 475.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1237, allocations: 0 / 475.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.1241, allocations: 383.3 kB / 475.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1241, allocations: 0 / 475.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.1242, allocations: 11.94 kB / 475.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1242, allocations: 11.92 kB / 475.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1242, allocations: 4 kB / 475.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1242, allocations: 4.031 kB / 475.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1242, allocations: 0 / 475.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.1245, allocations: 204.1 kB / 476.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.1245, allocations: 89.02 kB / 476.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.1245, allocations: 0 / 476.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.1246, allocations: 7.984 kB / 476.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.1247, allocations: 8 kB / 476.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.1247, allocations: 8 kB / 476.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.362e-05/0.1248, allocations: 126.8 kB / 476.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1248, allocations: 0 / 476.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1251, allocations: 27.98 kB / 476.4 MB, free: 7.562 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.00107/0.1261, allocations: 460.4 kB / 476.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.1263, allocations: 67.84 kB / 476.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1263, allocations: 3.938 kB / 476.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.011e-05/0.1264, allocations: 20 kB / 476.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.1268, allocations: 35.94 kB / 477 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.1272, allocations: 240.6 kB / 477.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.1275, allocations: 0.7041 MB / 477.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.1276, allocations: 15.44 kB / 477.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1276, allocations: 0 / 477.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of Templates: time 0.003627/0.1312, allocations: 1.848 MB / 479.8 MB, free: 4.312 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches