Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 103.9 kB / 16.64 MB, free: 6.805 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.000974/0.000974, allocations: 190.5 kB / 17.56 MB, free: 5.945 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.417/1.417, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.215/0.215, allocations: 43.51 MB / 314.3 MB, free: 0.7188 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.001527/0.001527, allocations: 71.16 kB / 382.9 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1164, allocations: 57.79 MB / 440.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.00302/0.1194, allocations: 1.758 MB / 442.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.1206, allocations: 0.7851 MB / 443.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.201e-05/0.1207, allocations: 7.938 kB / 443.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.1211, allocations: 35.89 kB / 443.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.1213, allocations: 51.77 kB / 443.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.1216, allocations: 75.84 kB / 443.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1217, allocations: 91.7 kB / 443.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1218, allocations: 16.5 kB / 443.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.547e-05/0.1219, allocations: 43.78 kB / 443.5 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.952e-05/0.122, allocations: 31.8 kB / 443.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.122, allocations: 4 kB / 443.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.161e-05/0.1221, allocations: 39.98 kB / 443.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.1222, allocations: 23.91 kB / 443.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.1222, allocations: 31.75 kB / 443.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.1224, allocations: 87.81 kB / 443.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1224, allocations: 0 / 443.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1224, allocations: 0 / 443.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1224, allocations: 0 / 443.7 MB, free: 4.277 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.0004529/0.1229, allocations: 414.9 kB / 444.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1229, allocations: 19.89 kB / 444.2 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.1229, allocations: 8.844 kB / 444.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.1231, allocations: 205 kB / 444.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1231, allocations: 8.312 kB / 444.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1232, allocations: 4.125 kB / 444.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.1233, allocations: 53.67 kB / 444.4 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1233, allocations: 4 kB / 444.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1233, allocations: 0 / 444.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.1234, allocations: 0 / 444.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.55e-05/0.1234, allocations: 23.92 kB / 444.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.1237, allocations: 288.8 kB / 444.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.1239, allocations: 58.67 kB / 444.8 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.523e-05/0.1239, allocations: 16.86 kB / 444.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.124, allocations: 3.984 kB / 444.8 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.1242, allocations: 75.33 kB / 444.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.1242, allocations: 0 / 444.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004892/0.1247, allocations: 173.1 kB / 445.1 MB, free: 2.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.1247, allocations: 51.41 kB / 445.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.1248, allocations: 190.1 kB / 445.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.1248, allocations: 33.7 kB / 445.3 MB, free: 2.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.1249, allocations: 104.1 kB / 445.4 MB, free: 2.375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.1249, allocations: 19.72 kB / 445.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.1249, allocations: 25.7 kB / 445.5 MB, free: 2.324 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.025e-05/0.125, allocations: 322.8 kB / 445.8 MB, free: 2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.06e-05/0.1251, allocations: 20 kB / 445.8 MB, free: 1.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.076e-05/0.1251, allocations: 41.64 kB / 445.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.075e-05/0.1252, allocations: 65.64 kB / 445.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1252, allocations: 384 / 445.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001418/0.1254, allocations: 93.58 kB / 446 MB, free: 1.766 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1254, allocations: 11.98 kB / 446 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.1254, allocations: 0 / 446 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1254, allocations: 7.984 kB / 446 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.1255, allocations: 15.94 kB / 446.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1255, allocations: 4 kB / 446.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.29e-05/0.1256, allocations: 7.938 kB / 446.1 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1256, allocations: 12.02 kB / 446.1 MB, free: 1.707 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.75e-05/0.1257, allocations: 121.8 kB / 446.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.1257, allocations: 11.81 kB / 446.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.914e-05/0.1257, allocations: 20.7 kB / 446.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1257, allocations: 3.938 kB / 446.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1257, allocations: 0 / 446.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1257, allocations: 3.938 kB / 446.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.1261, allocations: 399.3 kB / 446.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.1261, allocations: 0 / 446.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.849e-05/0.1261, allocations: 11.94 kB / 446.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1261, allocations: 0 / 446.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1261, allocations: 11.92 kB / 446.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1261, allocations: 4 kB / 446.7 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1261, allocations: 0 / 446.7 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.1263, allocations: 196.6 kB / 446.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.492e-05/0.1264, allocations: 85.02 kB / 446.9 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.1264, allocations: 7.938 kB / 446.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.721e-05/0.1265, allocations: 7.984 kB / 446.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.1265, allocations: 0 / 446.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.1265, allocations: 4 kB / 446.9 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.982e-05/0.1266, allocations: 147.2 kB / 447.1 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1266, allocations: 0 / 447.1 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.1269, allocations: 23.91 kB / 447.1 MB, free: 0.5547 MB / 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.0009841/0.1279, allocations: 481.1 kB / 447.6 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.128, allocations: 59.92 kB / 447.6 MB, free: 108 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1281, allocations: 4.062 kB / 447.6 MB, free: 104 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.043e-05/0.1281, allocations: 27.98 kB / 447.7 MB, free: 76 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.1285, allocations: 31.92 kB / 447.7 MB, free: 44 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.1289, allocations: 273 kB / 448 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.1293, allocations: 0.7041 MB / 448.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.1293, allocations: 15.44 kB / 448.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1293, allocations: 0 / 448.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of Templates: time 0.003864/0.1332, allocations: 1.895 MB / 450.6 MB, free: 13.11 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches