Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 109.6 kB / 17.04 MB, free: 5.812 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.001425/0.001426, allocations: 196 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2246/0.2246, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 77.16 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1177, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002927/0.1207, allocations: 1.688 MB / 443.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1218, allocations: 0.7961 MB / 444.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.902e-05/0.1219, allocations: 3.938 kB / 444.5 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.1223, allocations: 39.84 kB / 444.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.1225, allocations: 59.69 kB / 444.6 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.1228, allocations: 83.77 kB / 444.7 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.123, allocations: 95.69 kB / 444.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1231, allocations: 12.22 kB / 444.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.405e-05/0.1232, allocations: 39.8 kB / 444.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.1232, allocations: 27.84 kB / 444.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1233, allocations: 8 kB / 444.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.905e-05/0.1234, allocations: 47.92 kB / 444.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.132e-05/0.1234, allocations: 15.92 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.1235, allocations: 35.73 kB / 444.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.1237, allocations: 107.6 kB / 445 MB, free: 3.086 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1237, allocations: 7.984 kB / 445 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1237, allocations: 4 kB / 445 MB, free: 3.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1237, allocations: 0 / 445 MB, free: 3.074 MB / 318.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.0004413/0.1242, allocations: 403 kB / 445.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1242, allocations: 15.89 kB / 445.5 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.1242, allocations: 8.844 kB / 445.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.1245, allocations: 220.8 kB / 445.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.1245, allocations: 384 / 445.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.1245, allocations: 8.125 kB / 445.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.1247, allocations: 53.67 kB / 445.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1247, allocations: 0 / 445.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1247, allocations: 7.984 kB / 445.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1247, allocations: 4 kB / 445.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.656e-05/0.1248, allocations: 19.98 kB / 445.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.1251, allocations: 288.7 kB / 446.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.1253, allocations: 54.69 kB / 446.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.572e-05/0.1253, allocations: 20.84 kB / 446.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1253, allocations: 4 kB / 446.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.1255, allocations: 71.33 kB / 446.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1255, allocations: 0 / 446.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004753/0.126, allocations: 173.2 kB / 446.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.126, allocations: 63.34 kB / 446.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1261, allocations: 186.1 kB / 446.6 MB, free: 1.312 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.1262, allocations: 29.7 kB / 446.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.1262, allocations: 104.1 kB / 446.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.1262, allocations: 19.7 kB / 446.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.1263, allocations: 21.72 kB / 446.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.293e-05/0.1263, allocations: 326.8 kB / 447.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.022e-05/0.1264, allocations: 23.98 kB / 447.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.141e-05/0.1264, allocations: 37.64 kB / 447.2 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.486e-05/0.1265, allocations: 69.64 kB / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1265, allocations: 0 / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001402/0.1267, allocations: 89.67 kB / 447.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1267, allocations: 4 kB / 447.3 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1267, allocations: 4.078 kB / 447.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1267, allocations: 0 / 447.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.27e-05/0.1268, allocations: 19.92 kB / 447.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1268, allocations: 3.984 kB / 447.4 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/0.1269, allocations: 11.94 kB / 447.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1269, allocations: 8.031 kB / 447.4 MB, free: 0.5117 MB / 318.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 6.531e-05/0.127, allocations: 129.8 kB / 447.5 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/0.127, allocations: 11.81 kB / 447.5 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.127, allocations: 16.66 kB / 447.5 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.127, allocations: 4 kB / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1271, allocations: 0 / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.1271, allocations: 7.922 kB / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.1274, allocations: 395.6 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1275, allocations: 4 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.1275, allocations: 8 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1275, allocations: 4 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.1275, allocations: 7.938 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1275, allocations: 3.938 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1275, allocations: 4 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.1278, allocations: 200.3 kB / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.1279, allocations: 85 kB / 448.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.1279, allocations: 11.94 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.128, allocations: 0 / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.128, allocations: 7.984 kB / 448.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.1281, allocations: 4 kB / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.1282, allocations: 139.2 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1283, allocations: 0 / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.1285, allocations: 27.89 kB / 448.4 MB, free: 15.35 MB / 334.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.001081/0.1296, allocations: 475.6 kB / 448.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.1298, allocations: 59.97 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1298, allocations: 4.062 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.734e-05/0.1299, allocations: 23.94 kB / 449 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.1302, allocations: 31.91 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/0.1307, allocations: 215.6 kB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.1311, allocations: 0.7041 MB / 449.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.666e-05/0.1311, allocations: 16.86 kB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.1312, allocations: 19.44 kB / 450 MB, free: 13.85 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1312, allocations: 0 / 450 MB, free: 13.85 MB / 334.1 MB Notification: Performance of Templates: time 0.005106/0.1363, allocations: 1.689 MB / 451.6 MB, free: 12.17 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches