Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 96.98 kB / 16.93 MB, free: 6.188 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.001137/0.001137, allocations: 191.6 kB / 17.86 MB, free: 5.289 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.457/1.457, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.2076/0.2076, allocations: 43.52 MB / 314.6 MB, free: 0.5234 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.001496/0.001496, allocations: 66.19 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1135, allocations: 57.8 MB / 441.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003018/0.1165, allocations: 1.686 MB / 442.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1178, allocations: 0.8 MB / 443.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.827e-05/0.1179, allocations: 0 / 443.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.1182, allocations: 39.81 kB / 443.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.1184, allocations: 51.7 kB / 443.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.1186, allocations: 87.75 kB / 443.9 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1188, allocations: 91.7 kB / 444 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.664e-05/0.1189, allocations: 16.52 kB / 444 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.717e-05/0.119, allocations: 39.78 kB / 444 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/0.119, allocations: 27.86 kB / 444 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1191, allocations: 4 kB / 444 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-05/0.1191, allocations: 47.97 kB / 444.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.1192, allocations: 23.86 kB / 444.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.1193, allocations: 27.81 kB / 444.1 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.1194, allocations: 107.6 kB / 444.2 MB, free: 3.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1194, allocations: 0 / 444.2 MB, free: 3.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1194, allocations: 4 kB / 444.2 MB, free: 3.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1194, allocations: 0 / 444.2 MB, free: 3.812 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.0004444/0.1199, allocations: 411 kB / 444.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1199, allocations: 15.89 kB / 444.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.12, allocations: 12.75 kB / 444.7 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.1202, allocations: 208 kB / 444.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1202, allocations: 4.375 kB / 444.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.1202, allocations: 8.125 kB / 444.9 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1204, allocations: 53.67 kB / 444.9 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1204, allocations: 0 / 444.9 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1204, allocations: 8 kB / 445 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1204, allocations: 0 / 445 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.21e-05/0.1205, allocations: 15.98 kB / 445 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.1208, allocations: 284.9 kB / 445.2 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.121, allocations: 58.61 kB / 445.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.825e-05/0.121, allocations: 20.86 kB / 445.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1211, allocations: 3.984 kB / 445.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.1213, allocations: 63.39 kB / 445.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1213, allocations: 0 / 445.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000525/0.1218, allocations: 185.3 kB / 445.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.1219, allocations: 59.41 kB / 445.6 MB, free: 2.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.122, allocations: 174.1 kB / 445.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.122, allocations: 25.7 kB / 445.8 MB, free: 2.035 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.1221, allocations: 96.14 kB / 445.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.1221, allocations: 35.56 kB / 446 MB, free: 1.902 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.1221, allocations: 21.72 kB / 446 MB, free: 1.875 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.775e-05/0.1222, allocations: 326.8 kB / 446.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.294e-05/0.1223, allocations: 27.98 kB / 446.3 MB, free: 1.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-05/0.1223, allocations: 33.7 kB / 446.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.585e-05/0.1224, allocations: 53.72 kB / 446.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1224, allocations: 0 / 446.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001486/0.1226, allocations: 101.5 kB / 446.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1226, allocations: 4 kB / 446.5 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.1226, allocations: 0 / 446.5 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1226, allocations: 8.031 kB / 446.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.689e-05/0.1227, allocations: 19.92 kB / 446.5 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1227, allocations: 3.938 kB / 446.5 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.1228, allocations: 11.94 kB / 446.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.1228, allocations: 0 / 446.6 MB, free: 1.27 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 6.903e-05/0.1229, allocations: 125.8 kB / 446.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.1229, allocations: 15.81 kB / 446.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.1229, allocations: 12.72 kB / 446.7 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.123, allocations: 4 kB / 446.7 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.123, allocations: 0 / 446.7 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.123, allocations: 3.938 kB / 446.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.1233, allocations: 387.3 kB / 447.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1233, allocations: 4 kB / 447.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.1233, allocations: 11.98 kB / 447.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1233, allocations: 0 / 447.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.1234, allocations: 3.938 kB / 447.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1234, allocations: 32 / 447.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1234, allocations: 8 kB / 447.1 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.1235, allocations: 200.2 kB / 447.3 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.1236, allocations: 81.02 kB / 447.4 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.1236, allocations: 15.92 kB / 447.4 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/0.1237, allocations: 192 / 447.4 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.1237, allocations: 8 kB / 447.4 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.1237, allocations: 11.92 kB / 447.4 MB, free: 288 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.091e-05/0.1238, allocations: 131.2 kB / 447.6 MB, free: 156 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1238, allocations: 0 / 447.6 MB, free: 156 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1241, allocations: 24 kB / 447.6 MB, free: 132 kB / 318.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.001078/0.1252, allocations: 477 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.1254, allocations: 59.91 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1254, allocations: 0 / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.455e-05/0.1254, allocations: 35.92 kB / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1258, allocations: 19.98 kB / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.1263, allocations: 244.7 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.1265, allocations: 0.7041 MB / 449.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.1266, allocations: 19.44 kB / 449.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1266, allocations: 0 / 449.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of Templates: time 0.003616/0.1302, allocations: 1.88 MB / 451 MB, free: 12.74 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches