Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009669/0.0009667, allocations: 98.47 kB / 18.01 MB, free: 5.734 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.001104/0.001104, allocations: 176.9 kB / 18.91 MB, free: 4.871 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.374/1.374, allocations: 223.3 MB / 242.9 MB, free: 220 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.1965/0.1965, allocations: 44.25 MB / 338.3 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003221, allocations: 8.281 kB / 411 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1142, allocations: 61.92 MB / 472.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002094/0.1163, allocations: 1.274 MB / 474.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000807/0.1172, allocations: 399.4 kB / 474.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.1172, allocations: 0 / 474.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.1175, allocations: 19.92 kB / 474.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.1177, allocations: 31.91 kB / 474.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.118, allocations: 78.72 kB / 474.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.1181, allocations: 51.78 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1182, allocations: 16 kB / 474.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.82e-05/0.1183, allocations: 11.92 kB / 474.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.775e-05/0.1184, allocations: 27.84 kB / 474.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1184, allocations: 0 / 474.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.261e-05/0.1185, allocations: 20 kB / 474.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.327e-05/0.1185, allocations: 15.92 kB / 474.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.75e-05/0.1186, allocations: 45.52 kB / 474.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.1187, allocations: 51.92 kB / 474.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1187, allocations: 0 / 474.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1188, allocations: 0 / 474.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1188, allocations: 4 kB / 474.9 MB, free: 11.32 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004826/0.1193, allocations: 371.5 kB / 475.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1193, allocations: 12.03 kB / 475.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.1194, allocations: 4.844 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1196, allocations: 192.1 kB / 475.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1196, allocations: 4.375 kB / 475.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.1196, allocations: 384 / 475.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1198, allocations: 57.8 kB / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1198, allocations: 7.922 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1198, allocations: 0 / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1198, allocations: 4 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.54e-05/0.1199, allocations: 23.98 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.1203, allocations: 268.9 kB / 475.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.1205, allocations: 50.5 kB / 475.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.1206, allocations: 16.86 kB / 475.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.1206, allocations: 4.078 kB / 475.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.1206, allocations: 30.56 kB / 476 MB, free: 10.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.1206, allocations: 0 / 476 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006035/0.1213, allocations: 161.2 kB / 476.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.1213, allocations: 59.41 kB / 476.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.1215, allocations: 140.9 kB / 476.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1215, allocations: 25.7 kB / 476.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.1215, allocations: 88.14 kB / 476.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.1216, allocations: 19.8 kB / 476.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.1216, allocations: 9.719 kB / 476.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1217, allocations: 322.8 kB / 476.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.577e-05/0.1218, allocations: 27.98 kB / 476.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.1219, allocations: 23.98 kB / 476.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.122, allocations: 44.84 kB / 476.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.122, allocations: 0 / 476.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002004/0.1222, allocations: 101.5 kB / 477 MB, free: 9.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1223, allocations: 4 kB / 477 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1223, allocations: 0 / 477 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1223, allocations: 0 / 477 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.269e-05/0.1224, allocations: 15.94 kB / 477 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1224, allocations: 0 / 477 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.1224, allocations: 15.98 kB / 477 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.1224, allocations: 0 / 477 MB, free: 9.031 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.794e-05/0.1225, allocations: 122.2 kB / 477.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.1226, allocations: 8.156 kB / 477.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.1228, allocations: 105.9 kB / 477.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1228, allocations: 4 kB / 477.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1228, allocations: 3.984 kB / 477.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1228, allocations: 0 / 477.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.1233, allocations: 346.5 kB / 477.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1233, allocations: 4 kB / 477.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-05/0.1233, allocations: 19.88 kB / 477.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1233, allocations: 0 / 477.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.1234, allocations: 7.984 kB / 477.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1234, allocations: 3.938 kB / 477.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1234, allocations: 0 / 477.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.1236, allocations: 183.4 kB / 477.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.1237, allocations: 89 kB / 477.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1237, allocations: 0 / 477.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.1238, allocations: 11.94 kB / 477.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.1238, allocations: 3.984 kB / 477.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.1238, allocations: 4 kB / 477.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.525e-05/0.1239, allocations: 111.3 kB / 478 MB, free: 7.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1239, allocations: 0 / 478 MB, free: 7.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.1241, allocations: 12 kB / 478 MB, free: 7.906 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009249/0.1251, allocations: 409.1 kB / 478.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.1253, allocations: 55.97 kB / 478.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1253, allocations: 0 / 478.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.046e-05/0.1254, allocations: 27.98 kB / 478.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.1257, allocations: 15.22 kB / 478.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.1261, allocations: 222.2 kB / 478.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.1264, allocations: 0.6887 MB / 479.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.1264, allocations: 11.44 kB / 479.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1264, allocations: 0 / 479.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of Templates: time 0.003305/0.1297, allocations: 1.343 MB / 480.8 MB, free: 5.25 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches