Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.00138, allocations: 110.1 kB / 17.04 MB, free: 5.816 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.001193/0.001193, allocations: 196 kB / 17.98 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.498/1.498, 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.2565/0.2565, allocations: 43.52 MB / 314.7 MB, free: 496 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.00146/0.001461, allocations: 69 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1065, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002829/0.1093, allocations: 1.693 MB / 443.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.1113, allocations: 1.402 MB / 445.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.741e-05/0.1114, allocations: 7.938 kB / 445.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.1118, allocations: 39.83 kB / 445.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.1121, allocations: 59.7 kB / 445.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.1123, allocations: 83.75 kB / 445.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.1125, allocations: 103.7 kB / 445.4 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.1126, allocations: 8.234 kB / 445.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.409e-05/0.1126, allocations: 47.72 kB / 445.4 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.1128, allocations: 47.78 kB / 445.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1128, allocations: 4 kB / 445.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.1129, allocations: 59.97 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.113, allocations: 19.97 kB / 445.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.915e-05/0.113, allocations: 43.72 kB / 445.6 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.1132, allocations: 127.6 kB / 445.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1133, allocations: 3.938 kB / 445.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1133, allocations: 0 / 445.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.1133, allocations: 0 / 445.7 MB, free: 2.387 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004532/0.1137, allocations: 415 kB / 446.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.1138, allocations: 19.89 kB / 446.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.1138, allocations: 8.844 kB / 446.2 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.1141, allocations: 208.7 kB / 446.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1141, allocations: 3.938 kB / 446.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.1141, allocations: 8 kB / 446.4 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.1143, allocations: 79.25 kB / 446.4 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1143, allocations: 0 / 446.4 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1143, allocations: 8 kB / 446.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1143, allocations: 0 / 446.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.202e-05/0.1144, allocations: 27.98 kB / 446.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.1147, allocations: 296.7 kB / 446.8 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.1149, allocations: 70.61 kB / 446.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.115, allocations: 32.84 kB / 446.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.115, allocations: 0 / 446.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000127/0.1151, allocations: 67.39 kB / 446.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.1151, allocations: 0 / 446.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005117/0.1156, allocations: 193.7 kB / 447.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.1157, allocations: 81.14 kB / 447.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.1158, allocations: 162.9 kB / 447.4 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.1158, allocations: 29.7 kB / 447.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.1159, allocations: 92.14 kB / 447.5 MB, free: 412 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.1159, allocations: 43.55 kB / 447.5 MB, free: 368 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.1159, allocations: 25.72 kB / 447.6 MB, free: 336 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.361e-05/0.116, allocations: 322.8 kB / 447.9 MB, free: 4 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.431e-05/0.1161, allocations: 24.06 kB / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.592e-05/0.1162, allocations: 54.56 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.1163, allocations: 61.7 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1163, allocations: 0 / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001922/0.1165, allocations: 117.5 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.1165, allocations: 8 kB / 448.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1165, allocations: 80 / 448.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1166, allocations: 3.938 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.136e-05/0.1167, allocations: 19.98 kB / 448.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1167, allocations: 8.047 kB / 448.2 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.1167, allocations: 7.938 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.1167, allocations: 8 kB / 448.2 MB, free: 15.67 MB / 334.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 (11): * Single equations (assignments): 11 * 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 8.948e-05/0.1168, allocations: 117.8 kB / 448.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.1169, allocations: 15.89 kB / 448.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.737e-05/0.1169, allocations: 16.66 kB / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1169, allocations: 0 / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.117, allocations: 3.938 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.117, allocations: 0 / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.1174, allocations: 423.1 kB / 448.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1175, allocations: 3.938 kB / 448.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.1175, allocations: 12.09 kB / 448.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1175, allocations: 3.938 kB / 448.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1175, allocations: 4 kB / 448.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1175, allocations: 0 / 448.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1175, allocations: 0 / 448.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.1178, allocations: 220.2 kB / 449 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.1179, allocations: 93 kB / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1179, allocations: 0 / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.118, allocations: 4 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.118, allocations: 7.984 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.118, allocations: 8 kB / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.991e-05/0.1181, allocations: 123.9 kB / 449.2 MB, free: 14.53 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1181, allocations: 4 kB / 449.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.1184, allocations: 31.98 kB / 449.2 MB, free: 14.49 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 (9): * Single equations (assignments): 7 * 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.001077/0.1195, allocations: 0.4908 MB / 449.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.1197, allocations: 71.84 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1197, allocations: 0 / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.127e-05/0.1198, allocations: 39.92 kB / 449.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.1201, allocations: 31.41 kB / 449.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004012/0.1205, allocations: 211.1 kB / 450.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.1208, allocations: 0.7001 MB / 450.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.469e-05/0.1208, allocations: 24.58 kB / 450.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.1209, allocations: 27.42 kB / 450.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1209, allocations: 0 / 450.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of Templates: time 0.004636/0.1255, allocations: 2.035 MB / 452.9 MB, free: 10.92 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches