Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 114.5 kB / 17.08 MB, free: 6.008 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.001055/0.001055, allocations: 198.3 kB / 18.01 MB, free: 5.086 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.374/1.374, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1966/0.1966, allocations: 43.53 MB / 314.8 MB, free: 464 kB / 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.001511/0.001511, allocations: 72.45 kB / 442.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1125, allocations: 57.79 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003023/0.1155, allocations: 1.693 MB / 0.4903 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1168, allocations: 0.8 MB / 0.491 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.566e-05/0.1169, allocations: 7.938 kB / 0.4911 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.1173, allocations: 31.84 kB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.1175, allocations: 59.69 kB / 0.4911 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.1178, allocations: 95.7 kB / 0.4912 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.1179, allocations: 99.67 kB / 0.4913 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1181, allocations: 16.22 kB / 0.4913 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.659e-05/0.1182, allocations: 39.78 kB / 0.4914 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.533e-05/0.1182, allocations: 31.84 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.1183, allocations: 4 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.1184, allocations: 43.98 kB / 0.4915 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.435e-05/0.1184, allocations: 23.86 kB / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.1185, allocations: 35.75 kB / 0.4915 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.1187, allocations: 111.7 kB / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1187, allocations: 0 / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1187, allocations: 0 / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1187, allocations: 0 / 0.4916 GB, free: 8.633 MB / 382.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.0005468/0.1193, allocations: 418.9 kB / 0.492 GB, free: 8.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1193, allocations: 11.89 kB / 0.492 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.1194, allocations: 8.844 kB / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.1197, allocations: 224.6 kB / 0.4923 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1197, allocations: 4.375 kB / 0.4923 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.1197, allocations: 8.125 kB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1199, allocations: 53.67 kB / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1199, allocations: 0 / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1199, allocations: 0 / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1199, allocations: 4 kB / 0.4923 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.586e-05/0.12, allocations: 19.97 kB / 0.4923 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.1204, allocations: 284.9 kB / 0.4926 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.1206, allocations: 66.61 kB / 0.4927 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.1207, allocations: 20.84 kB / 0.4927 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.1207, allocations: 0 / 0.4927 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.1208, allocations: 63.39 kB / 0.4928 GB, free: 7.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1208, allocations: 8 kB / 0.4928 GB, free: 7.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005317/0.1214, allocations: 177.1 kB / 0.4929 GB, free: 7.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.1214, allocations: 55.41 kB / 0.493 GB, free: 7.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.1216, allocations: 191.3 kB / 0.4932 GB, free: 6.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1216, allocations: 29.7 kB / 0.4932 GB, free: 6.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.1217, allocations: 108 kB / 0.4933 GB, free: 6.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.1217, allocations: 19.75 kB / 0.4933 GB, free: 6.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.1218, allocations: 25.66 kB / 0.4933 GB, free: 6.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1219, allocations: 338.7 kB / 0.4937 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.44e-05/0.122, allocations: 16 kB / 0.4937 GB, free: 6.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.551e-05/0.1221, allocations: 42.02 kB / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.1222, allocations: 61.77 kB / 0.4938 GB, free: 6.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1222, allocations: 0 / 0.4938 GB, free: 6.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001911/0.1224, allocations: 109.4 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1224, allocations: 4 kB / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1224, allocations: 0 / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1224, allocations: 0 / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/0.1225, allocations: 19.98 kB / 0.4939 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1225, allocations: 3.938 kB / 0.4939 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.1226, allocations: 7.938 kB / 0.4939 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1226, allocations: 4 kB / 0.4939 GB, free: 6.039 MB / 382.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 9.647e-05/0.1227, allocations: 137.6 kB / 0.4941 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.1227, allocations: 11.94 kB / 0.4941 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.087e-05/0.1228, allocations: 17.39 kB / 0.4941 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1228, allocations: 4 kB / 0.4941 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.1228, allocations: 0 / 0.4941 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.1228, allocations: 3.938 kB / 0.4941 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.1232, allocations: 395.2 kB / 0.4945 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1233, allocations: 0 / 0.4945 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.037e-05/0.1233, allocations: 8 kB / 0.4945 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1233, allocations: 8.016 kB / 0.4945 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1233, allocations: 3.938 kB / 0.4945 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1234, allocations: 4 kB / 0.4945 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1234, allocations: 0 / 0.4945 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.1236, allocations: 204.2 kB / 0.4947 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.1236, allocations: 88.92 kB / 0.4948 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.1237, allocations: 3.938 kB / 0.4948 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.1238, allocations: 11.98 kB / 0.4948 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.1238, allocations: 4 kB / 0.4948 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1238, allocations: 4 kB / 0.4948 GB, free: 5.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.1239, allocations: 152.9 kB / 0.4949 GB, free: 4.891 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1239, allocations: 3.938 kB / 0.4949 GB, free: 4.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1242, allocations: 27.98 kB / 0.495 GB, free: 4.859 MB / 382.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.001032/0.1253, allocations: 463.5 kB / 0.4954 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.1254, allocations: 55.92 kB / 0.4955 GB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1255, allocations: 0 / 0.4955 GB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.267e-05/0.1255, allocations: 32.08 kB / 0.4955 GB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.1259, allocations: 47.53 kB / 0.4955 GB, free: 4.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.1264, allocations: 260.8 kB / 0.4958 GB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1266, allocations: 0.708 MB / 0.4965 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.1267, allocations: 15.44 kB / 0.4965 GB, free: 3.273 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1267, allocations: 0 / 0.4965 GB, free: 3.273 MB / 382.1 MB Notification: Performance of Templates: time 0.003737/0.1305, allocations: 1.937 MB / 0.4984 GB, free: 1.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches