Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.001121, allocations: 105.2 kB / 16.93 MB, free: 5.789 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.001292/0.001292, allocations: 191.3 kB / 17.86 MB, free: 5.152 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.421/1.421, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2129/0.2129, allocations: 43.52 MB / 314.6 MB, free: 0.543 MB / 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.001538/0.001538, allocations: 69.67 kB / 383.4 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1132, allocations: 57.79 MB / 441.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002773/0.116, allocations: 1.699 MB / 442.9 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1171, allocations: 0.7922 MB / 443.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.042e-05/0.1172, allocations: 0 / 443.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.1175, allocations: 87.7 kB / 443.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.1177, allocations: 71.73 kB / 443.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.1179, allocations: 87.69 kB / 443.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.1181, allocations: 111.7 kB / 444 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.1182, allocations: 12.5 kB / 444.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.874e-05/0.1182, allocations: 47.78 kB / 444.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.332e-05/0.1183, allocations: 63.81 kB / 444.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.1184, allocations: 4 kB / 444.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.794e-05/0.1185, allocations: 43.97 kB / 444.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.1185, allocations: 19.92 kB / 444.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.1186, allocations: 39.67 kB / 444.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.1187, allocations: 115.6 kB / 444.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1188, allocations: 0 / 444.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1188, allocations: 3.938 kB / 444.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1188, allocations: 0 / 444.4 MB, free: 3.711 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.0004672/0.1192, allocations: 418.9 kB / 444.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1193, allocations: 11.89 kB / 444.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.1193, allocations: 16.75 kB / 444.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.1195, allocations: 208.1 kB / 445 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1195, allocations: 4.359 kB / 445 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.1196, allocations: 4.125 kB / 445 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.1197, allocations: 61.61 kB / 445.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1197, allocations: 0 / 445.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1197, allocations: 0 / 445.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1197, allocations: 0 / 445.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.308e-05/0.1198, allocations: 23.98 kB / 445.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.1201, allocations: 292.7 kB / 445.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.1203, allocations: 58.61 kB / 445.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.575e-05/0.1203, allocations: 16.86 kB / 445.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.1204, allocations: 15.94 kB / 445.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.1205, allocations: 59.39 kB / 445.5 MB, free: 2.379 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1205, allocations: 0 / 445.5 MB, free: 2.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004863/0.121, allocations: 177.4 kB / 445.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.1211, allocations: 55.41 kB / 445.8 MB, free: 2.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.1212, allocations: 215.5 kB / 446 MB, free: 1.914 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.1212, allocations: 25.7 kB / 446 MB, free: 1.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.112e-05/0.1213, allocations: 116.1 kB / 446.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.1213, allocations: 23.66 kB / 446.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.1214, allocations: 21.7 kB / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.1214, allocations: 330.8 kB / 446.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.96e-05/0.1215, allocations: 16 kB / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.274e-05/0.1215, allocations: 41.64 kB / 446.5 MB, free: 1.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.469e-05/0.1216, allocations: 61.7 kB / 446.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1216, allocations: 0 / 446.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001493/0.1218, allocations: 101.4 kB / 446.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1218, allocations: 8 kB / 446.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1218, allocations: 3.984 kB / 446.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1218, allocations: 0 / 446.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.158e-05/0.1219, allocations: 12 kB / 446.7 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1219, allocations: 4 kB / 446.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.122, allocations: 7.969 kB / 446.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.122, allocations: 4 kB / 446.7 MB, free: 1.109 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 7.136e-05/0.1221, allocations: 137.7 kB / 446.9 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.1221, allocations: 7.906 kB / 446.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.1222, allocations: 21.39 kB / 446.9 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1222, allocations: 0 / 446.9 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1222, allocations: 0 / 446.9 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1222, allocations: 3.938 kB / 446.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.1225, allocations: 399.2 kB / 447.3 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1225, allocations: 0 / 447.3 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.072e-05/0.1226, allocations: 15.97 kB / 447.3 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1226, allocations: 0 / 447.3 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1226, allocations: 7.938 kB / 447.3 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1226, allocations: 0 / 447.3 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1226, allocations: 0 / 447.3 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.1228, allocations: 208.4 kB / 447.5 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.1228, allocations: 88.92 kB / 447.6 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.1228, allocations: 19.86 kB / 447.6 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.69e-05/0.1229, allocations: 0 / 447.6 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.1229, allocations: 4 kB / 447.6 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.123, allocations: 11.92 kB / 447.7 MB, free: 96 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.1231, allocations: 159.2 kB / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1231, allocations: 0 / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1234, allocations: 24 kB / 447.8 MB, free: 15.91 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.001042/0.1244, allocations: 471.2 kB / 448.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1246, allocations: 67.91 kB / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1246, allocations: 0 / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.133e-05/0.1247, allocations: 27.92 kB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.125, allocations: 25.19 kB / 448.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.1255, allocations: 280.8 kB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.1258, allocations: 0.708 MB / 449.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.1258, allocations: 19.44 kB / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1258, allocations: 0 / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of Templates: time 0.003466/0.1293, allocations: 1.949 MB / 451.4 MB, free: 12.42 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches