Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 108.5 kB / 17.03 MB, free: 5.664 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.001248/0.001248, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.415/1.415, 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.2214/0.2214, allocations: 43.53 MB / 314.7 MB, free: 488 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.001707/0.001707, allocations: 74.5 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.112, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003168/0.1152, allocations: 1.689 MB / 443.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.1164, allocations: 0.7961 MB / 444.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1165, allocations: 4 kB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.1169, allocations: 91.69 kB / 444.6 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.1172, allocations: 79.72 kB / 444.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.1175, allocations: 87.69 kB / 444.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.1177, allocations: 107.7 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1178, allocations: 8.234 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.118, allocations: 51.77 kB / 444.9 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.1181, allocations: 63.81 kB / 444.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.1181, allocations: 4 kB / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.1182, allocations: 47.97 kB / 445 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.41e-05/0.1183, allocations: 19.92 kB / 445 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.752e-05/0.1184, allocations: 31.75 kB / 445 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.1186, allocations: 135.5 kB / 445.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1187, allocations: 0 / 445.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1187, allocations: 0 / 445.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1187, allocations: 0 / 445.2 MB, free: 2.926 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.000539/0.1192, allocations: 426.8 kB / 445.6 MB, free: 2.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1193, allocations: 15.89 kB / 445.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.1193, allocations: 8.844 kB / 445.6 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.1196, allocations: 219.9 kB / 445.8 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1196, allocations: 4.375 kB / 445.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.1197, allocations: 8.125 kB / 445.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1198, allocations: 57.61 kB / 445.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1198, allocations: 0 / 445.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1199, allocations: 3.984 kB / 445.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.1199, allocations: 8 kB / 445.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.322e-05/0.12, allocations: 15.98 kB / 445.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.1203, allocations: 284.9 kB / 446.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.1205, allocations: 62.61 kB / 446.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.631e-05/0.1206, allocations: 16.86 kB / 446.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1206, allocations: 4 kB / 446.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.1207, allocations: 71.38 kB / 446.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1208, allocations: 0 / 446.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005206/0.1213, allocations: 173.1 kB / 446.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.1213, allocations: 55.41 kB / 446.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.1215, allocations: 230.6 kB / 446.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.1215, allocations: 33.7 kB / 446.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.1215, allocations: 104.1 kB / 446.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.1216, allocations: 27.64 kB / 447 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.1216, allocations: 21.72 kB / 447 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.1217, allocations: 330.8 kB / 447.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.248e-05/0.1217, allocations: 19.98 kB / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.373e-05/0.1218, allocations: 37.64 kB / 447.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.991e-05/0.1219, allocations: 61.72 kB / 447.4 MB, free: 448 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1219, allocations: 0 / 447.4 MB, free: 448 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001587/0.1221, allocations: 101.4 kB / 447.5 MB, free: 340 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1221, allocations: 8 kB / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1221, allocations: 160 / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1221, allocations: 0 / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/0.1222, allocations: 19.98 kB / 447.6 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1222, allocations: 8.359 kB / 447.6 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.1223, allocations: 7.969 kB / 447.6 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.1223, allocations: 4 kB / 447.6 MB, free: 292 kB / 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 7.788e-05/0.1224, allocations: 141.6 kB / 447.7 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.1224, allocations: 11.91 kB / 447.7 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.1225, allocations: 21.39 kB / 447.7 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1225, allocations: 0 / 447.7 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1225, allocations: 0 / 447.7 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1225, allocations: 7.938 kB / 447.8 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.123, allocations: 399.2 kB / 448.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.123, allocations: 0 / 448.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.123, allocations: 8 kB / 448.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.123, allocations: 0 / 448.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1231, allocations: 11.92 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1231, allocations: 0 / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1231, allocations: 0 / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1233, allocations: 204.3 kB / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.876e-05/0.1234, allocations: 88.92 kB / 448.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.1234, allocations: 11.88 kB / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.168e-05/0.1235, allocations: 7.984 kB / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.1235, allocations: 4 kB / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.1236, allocations: 4.188 kB / 448.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.1237, allocations: 167.2 kB / 448.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1237, allocations: 3.938 kB / 448.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.124, allocations: 28 kB / 448.7 MB, free: 15.08 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.001113/0.1251, allocations: 466.1 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.1253, allocations: 67.91 kB / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1253, allocations: 0 / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.283e-05/0.1254, allocations: 27.98 kB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.1257, allocations: 19.98 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.1262, allocations: 251.3 kB / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1265, allocations: 0.7159 MB / 450.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.324e-05/0.1266, allocations: 24.84 kB / 450.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.1266, allocations: 15.44 kB / 450.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1266, allocations: 0 / 450.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of Templates: time 0.004698/0.1313, allocations: 1.707 MB / 451.9 MB, free: 11.84 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches