Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 109.8 kB / 16.41 MB, free: 6.488 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.001654/0.001654, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.691/1.691, allocations: 205.1 MB / 223.2 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.224/0.224, allocations: 43.52 MB / 314.1 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.001318/0.001318, allocations: 67.89 kB / 441.9 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1223, allocations: 57.79 MB / 499.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002693/0.125, allocations: 1.654 MB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1262, allocations: 0.7961 MB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.1263, allocations: 0 / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.1266, allocations: 55.8 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.1268, allocations: 71.67 kB / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.127, allocations: 83.77 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.1272, allocations: 95.69 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.1273, allocations: 11.98 kB / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.249e-05/0.1274, allocations: 55.75 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.856e-05/0.1274, allocations: 39.84 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.1275, allocations: 4 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.777e-05/0.1276, allocations: 27.98 kB / 0.4908 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.144e-05/0.1276, allocations: 15.92 kB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.131e-05/0.1277, allocations: 27.81 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.1279, allocations: 111.5 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1279, allocations: 0 / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1279, allocations: 4 kB / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1279, allocations: 0 / 0.4909 GB, free: 8.676 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004714/0.1284, allocations: 398.9 kB / 0.4913 GB, free: 8.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1284, allocations: 11.89 kB / 0.4913 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.1285, allocations: 12.84 kB / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.1287, allocations: 212.1 kB / 0.4915 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1287, allocations: 384 / 0.4915 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.1287, allocations: 12.06 kB / 0.4915 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.1289, allocations: 57.59 kB / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1289, allocations: 0 / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1289, allocations: 0 / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.1289, allocations: 0 / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.35e-05/0.129, allocations: 15.98 kB / 0.4916 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.1292, allocations: 185.7 kB / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.1293, allocations: 50.62 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.1294, allocations: 28.78 kB / 0.4919 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.1294, allocations: 0 / 0.4919 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.1295, allocations: 63.33 kB / 0.4919 GB, free: 7.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1296, allocations: 0 / 0.4919 GB, free: 7.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002483/0.1298, allocations: 93.62 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.1299, allocations: 51.41 kB / 0.4921 GB, free: 7.324 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.13, allocations: 190.2 kB / 0.4922 GB, free: 7.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.13, allocations: 29.7 kB / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.1301, allocations: 100.1 kB / 0.4924 GB, free: 6.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.1301, allocations: 15.83 kB / 0.4924 GB, free: 6.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.1302, allocations: 21.72 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1303, allocations: 322.8 kB / 0.4927 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.736e-05/0.1303, allocations: 15.98 kB / 0.4927 GB, free: 6.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.44e-05/0.1304, allocations: 33.7 kB / 0.4928 GB, free: 6.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.992e-05/0.1305, allocations: 37.97 kB / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1305, allocations: 0 / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001534/0.1307, allocations: 101.5 kB / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1307, allocations: 4 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1307, allocations: 0 / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1307, allocations: 0 / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.17e-05/0.1308, allocations: 16.03 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1308, allocations: 0 / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.074e-05/0.1308, allocations: 3.984 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.1309, allocations: 4 kB / 0.4929 GB, free: 6.395 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 (7): * Single equations (assignments): 7 * 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.939e-05/0.131, allocations: 129.7 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.131, allocations: 7.953 kB / 0.4931 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.131, allocations: 16.3 kB / 0.4931 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.131, allocations: 4 kB / 0.4931 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.131, allocations: 3.938 kB / 0.4931 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.131, allocations: 4 kB / 0.4931 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.1312, allocations: 185.5 kB / 0.4933 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1312, allocations: 4 kB / 0.4933 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.727e-05/0.1312, allocations: 0 / 0.4933 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1312, allocations: 4 kB / 0.4933 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1312, allocations: 3.984 kB / 0.4933 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1312, allocations: 0 / 0.4933 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1312, allocations: 0 / 0.4933 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.1314, allocations: 117 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.1315, allocations: 85.06 kB / 0.4935 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.1315, allocations: 0 / 0.4935 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.046e-05/0.1315, allocations: 0 / 0.4935 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.1316, allocations: 11.92 kB / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1316, allocations: 8.125 kB / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.1317, allocations: 140.1 kB / 0.4936 GB, free: 5.586 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1317, allocations: 0 / 0.4936 GB, free: 5.586 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002009/0.1319, allocations: 19.92 kB / 0.4936 GB, free: 5.566 MB / 382.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: 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 (5): * Single equations (assignments): 3 * 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.0008607/0.1328, allocations: 420.5 kB / 0.494 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.1329, allocations: 35.98 kB / 0.4941 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.133, allocations: 0 / 0.4941 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.773e-05/0.133, allocations: 23.92 kB / 0.4941 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.1333, allocations: 38.5 kB / 0.4941 GB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.1336, allocations: 194 kB / 0.4943 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.1339, allocations: 0.7002 MB / 0.495 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.425e-05/0.1339, allocations: 20.53 kB / 0.495 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.134, allocations: 15.44 kB / 0.495 GB, free: 4.121 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.134, allocations: 0 / 0.495 GB, free: 4.121 MB / 382.1 MB Notification: Performance of Templates: time 0.003861/0.1378, allocations: 1.471 MB / 0.4965 GB, free: 2.648 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches