Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.001421, allocations: 116.3 kB / 17.09 MB, free: 6.012 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.001323/0.001323, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.48/1.48, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2234/0.2234, allocations: 43.52 MB / 314.8 MB, free: 456 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.001561/0.001561, allocations: 75.89 kB / 442.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1189, allocations: 57.79 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.004037/0.123, allocations: 1.909 MB / 0.4905 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.1246, allocations: 0.8428 MB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.1248, allocations: 7.938 kB / 0.4913 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.1252, allocations: 43.7 kB / 0.4913 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.1255, allocations: 59.69 kB / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.1259, allocations: 107.7 kB / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.1262, allocations: 135.5 kB / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1263, allocations: 29.48 kB / 0.4917 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.1265, allocations: 59.7 kB / 0.4917 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.1266, allocations: 55.7 kB / 0.4918 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.1266, allocations: 4 kB / 0.4918 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.1268, allocations: 55.91 kB / 0.4918 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.616e-05/0.1268, allocations: 23.92 kB / 0.4918 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.766e-05/0.1269, allocations: 51.56 kB / 0.4919 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.1272, allocations: 143.6 kB / 0.492 GB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1273, allocations: 0 / 0.492 GB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1273, allocations: 0 / 0.492 GB, free: 8.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1273, allocations: 0 / 0.492 GB, free: 8.199 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007534/0.128, allocations: 495.8 kB / 0.4925 GB, free: 7.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1281, allocations: 11.89 kB / 0.4925 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/0.1282, allocations: 16.75 kB / 0.4925 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.1286, allocations: 224 kB / 0.4927 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.1286, allocations: 4.375 kB / 0.4927 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.1286, allocations: 12.12 kB / 0.4928 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.1289, allocations: 108.2 kB / 0.4929 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1289, allocations: 3.938 kB / 0.4929 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.1289, allocations: 4 kB / 0.4929 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.1289, allocations: 4 kB / 0.4929 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.1291, allocations: 47.95 kB / 0.4929 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006263/0.1297, allocations: 0.5086 MB / 0.4934 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.1301, allocations: 90.64 kB / 0.4935 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.315e-05/0.1302, allocations: 40.78 kB / 0.4935 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1302, allocations: 0 / 0.4935 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.1304, allocations: 83.38 kB / 0.4936 GB, free: 6.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.1304, allocations: 0 / 0.4936 GB, free: 6.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000391/0.1308, allocations: 141.5 kB / 0.4938 GB, free: 6.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.1309, allocations: 55.34 kB / 0.4938 GB, free: 6.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.1311, allocations: 191.4 kB / 0.494 GB, free: 5.973 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.1311, allocations: 37.69 kB / 0.494 GB, free: 5.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.1312, allocations: 112.3 kB / 0.4941 GB, free: 5.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.1312, allocations: 23.66 kB / 0.4942 GB, free: 5.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.1313, allocations: 33.7 kB / 0.4942 GB, free: 5.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1314, allocations: 326.8 kB / 0.4945 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.943e-05/0.1315, allocations: 31.92 kB / 0.4945 GB, free: 5.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.843e-05/0.1316, allocations: 68.2 kB / 0.4946 GB, free: 5.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.1318, allocations: 96.2 kB / 0.4947 GB, free: 5.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1318, allocations: 0 / 0.4947 GB, free: 5.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002686/0.1321, allocations: 129.4 kB / 0.4948 GB, free: 5.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.1321, allocations: 11.98 kB / 0.4948 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1321, allocations: 128 / 0.4948 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.1321, allocations: 4 kB / 0.4948 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1322, allocations: 35.81 kB / 0.4949 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.1323, allocations: 11.97 kB / 0.4949 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.864e-05/0.1323, allocations: 11.91 kB / 0.4949 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.1324, allocations: 4 kB / 0.4949 GB, free: 4.992 MB / 382.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 0.0001105/0.1325, allocations: 132.4 kB / 0.495 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.1325, allocations: 15.81 kB / 0.495 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/0.1326, allocations: 17.41 kB / 0.495 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1326, allocations: 7.938 kB / 0.495 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1326, allocations: 0 / 0.495 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1326, allocations: 0 / 0.495 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.1328, allocations: 213.5 kB / 0.4953 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1328, allocations: 0 / 0.4953 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.837e-05/0.1329, allocations: 19.92 kB / 0.4953 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1329, allocations: 0 / 0.4953 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1329, allocations: 0 / 0.4953 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1329, allocations: 3.938 kB / 0.4953 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1329, allocations: 0 / 0.4953 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.1333, allocations: 192.9 kB / 0.4955 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.1334, allocations: 81.02 kB / 0.4955 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.1334, allocations: 8 kB / 0.4955 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.335e-05/0.1335, allocations: 11.92 kB / 0.4956 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.1335, allocations: 4 kB / 0.4956 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.1335, allocations: 0 / 0.4956 GB, free: 4.199 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.1336, allocations: 145.3 kB / 0.4957 GB, free: 4.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1337, allocations: 0 / 0.4957 GB, free: 4.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.1339, allocations: 32.11 kB / 0.4957 GB, free: 4.027 MB / 382.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.0009263/0.1348, allocations: 416.3 kB / 0.4961 GB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002534/0.1351, allocations: 79.84 kB / 0.4962 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1351, allocations: 0 / 0.4962 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.984e-05/0.1352, allocations: 48.16 kB / 0.4962 GB, free: 3.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.1355, allocations: 39.59 kB / 0.4963 GB, free: 3.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/0.1361, allocations: 289.6 kB / 0.4966 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.1364, allocations: 0.7123 MB / 0.4973 GB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.1365, allocations: 19.44 kB / 0.4973 GB, free: 2.414 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1365, allocations: 0 / 0.4973 GB, free: 2.414 MB / 382.1 MB Notification: Performance of Templates: time 0.004422/0.1409, allocations: 2.159 MB / 0.4994 GB, free: 260 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches