Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009108/0.0009108, allocations: 94.39 kB / 18 MB, free: 5.602 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.001153/0.001153, allocations: 177.2 kB / 18.91 MB, free: 4.738 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.331/1.331, allocations: 223.3 MB / 242.9 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2085/0.2085, allocations: 44.23 MB / 338.3 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002881, allocations: 12.72 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1022, allocations: 61.93 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002336/0.1046, allocations: 1.618 MB / 474.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1061, allocations: 0.8889 MB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.1063, allocations: 0 / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.1066, allocations: 39.77 kB / 475.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.1069, allocations: 47.83 kB / 475.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.1073, allocations: 111.5 kB / 475.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.1075, allocations: 127.6 kB / 475.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.1077, allocations: 29.47 kB / 475.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.1078, allocations: 51.67 kB / 475.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1079, allocations: 39.72 kB / 475.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.1079, allocations: 4 kB / 475.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.108, allocations: 43.97 kB / 475.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.1081, allocations: 27.86 kB / 475.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.903e-05/0.1082, allocations: 73.38 kB / 476 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.1084, allocations: 108 kB / 476.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1084, allocations: 0 / 476.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.1084, allocations: 0 / 476.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1085, allocations: 3.938 kB / 476.1 MB, free: 10.12 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005914/0.109, allocations: 456.7 kB / 476.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1091, allocations: 8.031 kB / 476.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.1092, allocations: 20.73 kB / 476.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.1094, allocations: 228 kB / 476.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.1094, allocations: 8.375 kB / 476.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.1095, allocations: 12.06 kB / 476.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.1097, allocations: 108.2 kB / 476.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1097, allocations: 0 / 476.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1097, allocations: 0 / 476.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1098, allocations: 4 kB / 476.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.1099, allocations: 55.91 kB / 477 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.1105, allocations: 0.5048 MB / 477.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.1109, allocations: 98.59 kB / 477.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.756e-05/0.111, allocations: 36.84 kB / 477.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.111, allocations: 8 kB / 477.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.1112, allocations: 87.25 kB / 477.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.1113, allocations: 4 kB / 477.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003955/0.1117, allocations: 145.4 kB / 477.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.1117, allocations: 67.33 kB / 477.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.1119, allocations: 187.5 kB / 478.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1119, allocations: 25.7 kB / 478.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.112, allocations: 116 kB / 478.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.112, allocations: 27.98 kB / 478.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.1121, allocations: 13.72 kB / 478.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1122, allocations: 326.8 kB / 478.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.162e-05/0.1123, allocations: 35.98 kB / 478.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.1124, allocations: 64.2 kB / 478.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.1126, allocations: 108.2 kB / 478.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1126, allocations: 0 / 478.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002735/0.1129, allocations: 137.4 kB / 479 MB, free: 6.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1129, allocations: 8.125 kB / 479 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1129, allocations: 4 kB / 479 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1129, allocations: 0 / 479 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.113, allocations: 27.92 kB / 479 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1131, allocations: 0 / 479 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.501e-05/0.1131, allocations: 19.84 kB / 479 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1132, allocations: 4 kB / 479 MB, free: 6.934 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001039/0.1133, allocations: 132.3 kB / 479.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.1133, allocations: 19.81 kB / 479.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.622e-05/0.1134, allocations: 17.41 kB / 479.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1134, allocations: 3.938 kB / 479.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1134, allocations: 0 / 479.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1134, allocations: 3.984 kB / 479.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.1135, allocations: 205.6 kB / 479.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1136, allocations: 4 kB / 479.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.541e-05/0.1136, allocations: 8 kB / 479.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1136, allocations: 0 / 479.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1137, allocations: 8 kB / 479.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1137, allocations: 7.938 kB / 479.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1137, allocations: 0 / 479.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.1141, allocations: 188.8 kB / 479.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.1141, allocations: 100.8 kB / 479.7 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.1142, allocations: 11.98 kB / 479.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-05/0.1142, allocations: 12 kB / 479.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.1143, allocations: 11.92 kB / 479.7 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1143, allocations: 4 kB / 479.7 MB, free: 6.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.1144, allocations: 137.2 kB / 479.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1144, allocations: 0 / 479.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.1147, allocations: 24.12 kB / 479.9 MB, free: 5.961 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0009295/0.1156, allocations: 416.7 kB / 480.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.1158, allocations: 79.89 kB / 480.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1159, allocations: 0 / 480.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.116, allocations: 39.92 kB / 480.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.1163, allocations: 36.22 kB / 480.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005522/0.1168, allocations: 327.9 kB / 480.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.1171, allocations: 0.7165 MB / 481.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.1172, allocations: 19.42 kB / 481.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1172, allocations: 0 / 481.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of Templates: time 0.004118/0.1213, allocations: 2.134 MB / 483.7 MB, free: 2.309 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches