Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 104.2 kB / 18.4 MB, free: 4.676 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.001533/0.001533, allocations: 186.9 kB / 19.34 MB, free: 3.742 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.384/1.384, allocations: 222.9 MB / 243 MB, free: 15.08 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.2005/0.2005, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 65.53 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1075, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003214/0.1108, allocations: 1.903 MB / 472.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1123, allocations: 0.9197 MB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.1124, allocations: 4 kB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.1126, allocations: 43.69 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.1129, allocations: 55.7 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.1132, allocations: 134.2 kB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.1134, allocations: 139.5 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.1135, allocations: 29.42 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1136, allocations: 55.77 kB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.1138, allocations: 47.72 kB / 474 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.1138, allocations: 8 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1139, allocations: 43.98 kB / 474.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.008e-05/0.114, allocations: 31.84 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.205e-05/0.1141, allocations: 51.67 kB / 474.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.1144, allocations: 147.5 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.1144, allocations: 0 / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1144, allocations: 0 / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1144, allocations: 0 / 474.3 MB, free: 10.04 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.0007196/0.1151, allocations: 480.5 kB / 474.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1152, allocations: 8.031 kB / 474.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.1152, allocations: 16.75 kB / 474.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1155, allocations: 235.8 kB / 475 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1156, allocations: 8.375 kB / 475 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.1156, allocations: 8.125 kB / 475.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.1158, allocations: 112.2 kB / 475.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1158, allocations: 0 / 475.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.1159, allocations: 3.984 kB / 475.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1159, allocations: 4 kB / 475.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.116, allocations: 47.91 kB / 475.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005985/0.1166, allocations: 0.5087 MB / 475.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.1169, allocations: 86.66 kB / 475.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.361e-05/0.117, allocations: 36.84 kB / 475.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.1171, allocations: 0 / 475.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.1173, allocations: 95.3 kB / 475.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.1173, allocations: 0 / 475.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003791/0.1177, allocations: 141.4 kB / 476.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.1177, allocations: 59.34 kB / 476.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.1179, allocations: 187.5 kB / 476.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.118, allocations: 25.7 kB / 476.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.1181, allocations: 116 kB / 476.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.1181, allocations: 31.61 kB / 476.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.1181, allocations: 25.72 kB / 476.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1183, allocations: 326.8 kB / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.826e-05/0.1184, allocations: 31.97 kB / 476.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1185, allocations: 68.34 kB / 476.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.1187, allocations: 104.5 kB / 477 MB, free: 7.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1187, allocations: 0 / 477 MB, free: 7.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002517/0.1189, allocations: 137.3 kB / 477.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1189, allocations: 8 kB / 477.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.119, allocations: 0 / 477.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.119, allocations: 4 kB / 477.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1191, allocations: 23.92 kB / 477.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.1191, allocations: 7.938 kB / 477.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.708e-05/0.1192, allocations: 11.94 kB / 477.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1192, allocations: 4 kB / 477.2 MB, free: 6.836 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 9.384e-05/0.1193, allocations: 132.3 kB / 477.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.1193, allocations: 15.81 kB / 477.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.1194, allocations: 17.39 kB / 477.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1194, allocations: 3.938 kB / 477.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1194, allocations: 0 / 477.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1194, allocations: 0 / 477.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.1196, allocations: 209.6 kB / 477.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1196, allocations: 0 / 477.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.449e-05/0.1197, allocations: 15.94 kB / 477.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1197, allocations: 4 kB / 477.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1197, allocations: 7.984 kB / 477.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/0.1197, allocations: 11.94 kB / 477.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1197, allocations: 0 / 477.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.1201, allocations: 176.8 kB / 477.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.1201, allocations: 93.08 kB / 477.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1202, allocations: 64 / 477.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.194e-05/0.1202, allocations: 19.86 kB / 477.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.1203, allocations: 11.98 kB / 477.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.1203, allocations: 4 kB / 477.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.1204, allocations: 137.2 kB / 478.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1204, allocations: 0 / 478.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.1207, allocations: 24 kB / 478.1 MB, free: 5.879 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.000903/0.1216, allocations: 403.7 kB / 478.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.1218, allocations: 91.77 kB / 478.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1218, allocations: 0 / 478.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.1219, allocations: 31.98 kB / 478.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.1222, allocations: 43.91 kB / 478.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004845/0.1227, allocations: 264.1 kB / 478.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.123, allocations: 0.7123 MB / 479.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.293e-05/0.1231, allocations: 21.41 kB / 479.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.1232, allocations: 19.44 kB / 479.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1232, allocations: 0 / 479.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of Templates: time 0.004512/0.1277, allocations: 1.886 MB / 481.5 MB, free: 2.539 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches