Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.00126/0.00126, allocations: 194 kB / 18.12 MB, free: 5.363 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.473/1.473, allocations: 222.9 MB / 241.8 MB, free: 13.82 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.2226/0.2226, allocations: 44.17 MB / 336.1 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 60.88 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1089, allocations: 60.83 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003198/0.1121, allocations: 1.761 MB / 470.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1134, allocations: 0.8653 MB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.1135, allocations: 0 / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002568/0.1138, allocations: 31.83 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.1139, allocations: 43.84 kB / 471.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.1142, allocations: 91.83 kB / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.1144, allocations: 95.67 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1145, allocations: 16.22 kB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.055e-05/0.1146, allocations: 43.73 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.119e-05/0.1147, allocations: 27.86 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.1147, allocations: 0 / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-05/0.1148, allocations: 43.97 kB / 471.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.1148, allocations: 15.92 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.1149, allocations: 35.73 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.1151, allocations: 115.8 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1151, allocations: 0 / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1151, allocations: 0 / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.1151, allocations: 0 / 471.7 MB, free: 11.62 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.000541/0.1157, allocations: 407.1 kB / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1157, allocations: 8.031 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.001e-05/0.1158, allocations: 16.83 kB / 472.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.1161, allocations: 204 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1161, allocations: 8.375 kB / 472.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1161, allocations: 4.125 kB / 472.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1163, allocations: 57.61 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1163, allocations: 3.938 kB / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1163, allocations: 7.984 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.1163, allocations: 7.938 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.315e-05/0.1164, allocations: 15.98 kB / 472.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.1168, allocations: 288.9 kB / 472.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.117, allocations: 58.62 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/0.117, allocations: 24.84 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1171, allocations: 0 / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.1172, allocations: 63.39 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.1173, allocations: 0 / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005506/0.1178, allocations: 173.4 kB / 473 MB, free: 10.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.1179, allocations: 55.39 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.118, allocations: 186.2 kB / 473.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1181, allocations: 33.7 kB / 473.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.1181, allocations: 100.1 kB / 473.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.1182, allocations: 27.64 kB / 473.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.1182, allocations: 17.72 kB / 473.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1183, allocations: 326.8 kB / 473.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.288e-05/0.1184, allocations: 24.17 kB / 473.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-05/0.1185, allocations: 41.64 kB / 473.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.1186, allocations: 61.7 kB / 473.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1186, allocations: 0 / 473.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001823/0.1188, allocations: 101.4 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1188, allocations: 8 kB / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1188, allocations: 160 / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.1189, allocations: 0 / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.314e-05/0.119, allocations: 15.98 kB / 474 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.567e-06/0.119, allocations: 7.984 kB / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.119, allocations: 7.969 kB / 474 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.119, allocations: 4 kB / 474 MB, free: 9.062 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.000103/0.1191, allocations: 129.8 kB / 474.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.1192, allocations: 7.906 kB / 474.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.1192, allocations: 16.72 kB / 474.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1192, allocations: 0 / 474.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1192, allocations: 0 / 474.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.1193, allocations: 7.922 kB / 474.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005217/0.1198, allocations: 399.3 kB / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1198, allocations: 0 / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.1198, allocations: 8.188 kB / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1198, allocations: 0 / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1199, allocations: 7.875 kB / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1199, allocations: 4 kB / 474.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1199, allocations: 0 / 474.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.1201, allocations: 216.1 kB / 474.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.1202, allocations: 85 kB / 474.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1202, allocations: 7.938 kB / 474.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.1203, allocations: 4 kB / 474.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.1204, allocations: 7.984 kB / 474.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.1204, allocations: 4 kB / 474.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.1205, allocations: 139.2 kB / 475 MB, free: 7.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1205, allocations: 8 kB / 475 MB, free: 7.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.1208, allocations: 27.98 kB / 475.1 MB, free: 7.895 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.001173/0.122, allocations: 468.4 kB / 475.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1222, allocations: 63.91 kB / 475.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1222, allocations: 0 / 475.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.464e-05/0.1223, allocations: 24 kB / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.1226, allocations: 27.97 kB / 475.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005634/0.1232, allocations: 245.1 kB / 475.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.1236, allocations: 0.7004 MB / 476.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.077e-05/0.1236, allocations: 21.17 kB / 476.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.1237, allocations: 19.44 kB / 476.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1237, allocations: 0 / 476.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of Templates: time 0.004495/0.1282, allocations: 1.636 MB / 478.3 MB, free: 4.844 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches