Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001217/0.001217, allocations: 191 kB / 19.34 MB, free: 3.766 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.344/1.344, allocations: 222.9 MB / 243 MB, free: 15.19 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.2073/0.2073, allocations: 44.17 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 60.69 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1137, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003524/0.1173, allocations: 1.715 MB / 472.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1188, allocations: 0.8847 MB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.069e-05/0.1189, allocations: 7.938 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.1192, allocations: 103.7 kB / 473.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.1195, allocations: 95.62 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.1198, allocations: 106.7 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.12, allocations: 123.7 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.368e-05/0.1201, allocations: 12 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.541e-05/0.1202, allocations: 55.77 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1203, allocations: 75.69 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1203, allocations: 4 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1204, allocations: 59.97 kB / 474 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.1205, allocations: 31.91 kB / 474 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.09e-05/0.1206, allocations: 43.69 kB / 474 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.1208, allocations: 155.5 kB / 474.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1209, allocations: 0 / 474.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.268e-06/0.1209, allocations: 0 / 474.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1209, allocations: 7.938 kB / 474.2 MB, free: 10.16 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006739/0.1216, allocations: 438.8 kB / 474.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1216, allocations: 12.03 kB / 474.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.792e-05/0.1217, allocations: 12.75 kB / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.1221, allocations: 227.8 kB / 474.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.1221, allocations: 12.31 kB / 474.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.1221, allocations: 8.109 kB / 474.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.1223, allocations: 69.55 kB / 474.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1224, allocations: 0 / 474.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.1224, allocations: 4 kB / 475 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.1224, allocations: 0 / 475 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.1225, allocations: 35.97 kB / 475 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.123, allocations: 320.6 kB / 475.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.1233, allocations: 70.55 kB / 475.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.939e-05/0.1234, allocations: 28.84 kB / 475.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.1235, allocations: 0 / 475.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.1236, allocations: 75.53 kB / 475.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.1237, allocations: 0 / 475.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008828/0.1245, allocations: 281.4 kB / 475.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.1246, allocations: 55.34 kB / 475.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.1249, allocations: 243.2 kB / 476 MB, free: 8.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.1249, allocations: 29.7 kB / 476.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.522e-05/0.125, allocations: 112.1 kB / 476.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.1251, allocations: 39.45 kB / 476.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.1251, allocations: 33.7 kB / 476.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1253, allocations: 326.8 kB / 476.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.68e-05/0.1254, allocations: 31.98 kB / 476.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.1255, allocations: 53.69 kB / 476.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.1256, allocations: 89.59 kB / 476.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1257, allocations: 4 kB / 476.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002422/0.1259, allocations: 141.5 kB / 476.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1259, allocations: 7.984 kB / 476.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1259, allocations: 0 / 476.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.126, allocations: 4 kB / 476.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.327e-05/0.1261, allocations: 19.94 kB / 476.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.1261, allocations: 11.94 kB / 476.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.1261, allocations: 3.984 kB / 476.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1261, allocations: 7.938 kB / 476.9 MB, free: 7.172 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 (14): * Single equations (assignments): 14 * 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.0001208/0.1263, allocations: 145.2 kB / 477.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.1263, allocations: 15.81 kB / 477.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.1264, allocations: 21.39 kB / 477.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1264, allocations: 3.938 kB / 477.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.1264, allocations: 7.922 kB / 477.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1264, allocations: 0 / 477.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005693/0.127, allocations: 488 kB / 477.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.127, allocations: 0 / 477.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.017e-05/0.127, allocations: 15.94 kB / 477.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.127, allocations: 4 kB / 477.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1271, allocations: 0 / 477.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1271, allocations: 4 kB / 477.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1271, allocations: 3.984 kB / 477.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.1274, allocations: 241 kB / 477.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.1274, allocations: 96.84 kB / 478 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.1274, allocations: 8 kB / 478 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.1275, allocations: 4 kB / 478 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.1276, allocations: 11.92 kB / 478 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.1276, allocations: 8 kB / 478 MB, free: 6.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1278, allocations: 188.2 kB / 478.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1278, allocations: 0 / 478.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.128, allocations: 39.98 kB / 478.2 MB, free: 5.785 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001227/0.1293, allocations: 0.4893 MB / 478.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.1295, allocations: 95.84 kB / 478.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1295, allocations: 0 / 478.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.818e-05/0.1296, allocations: 47.91 kB / 478.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.13, allocations: 36.08 kB / 478.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006023/0.1306, allocations: 320.7 kB / 479.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1309, allocations: 0.7162 MB / 479.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.571e-05/0.131, allocations: 25.27 kB / 479.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.1311, allocations: 19.44 kB / 479.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1311, allocations: 3.938 kB / 480 MB, free: 4.184 MB / 350.1 MB Notification: Performance of Templates: time 0.004712/0.1358, allocations: 2.071 MB / 482 MB, free: 2.137 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches