Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 112.7 kB / 16.41 MB, free: 6.48 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.001314/0.001314, allocations: 187.5 kB / 17.34 MB, free: 5.766 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.476/1.476, allocations: 205.1 MB / 223.2 MB, free: 12.09 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.2115/0.2115, allocations: 43.52 MB / 314.1 MB, free: 444 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.001358/0.001358, allocations: 71.89 kB / 441.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.116, allocations: 57.79 MB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002803/0.1188, allocations: 1.654 MB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.12, allocations: 0.7845 MB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.124e-05/0.1201, allocations: 3.938 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.1204, allocations: 47.81 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.1206, allocations: 67.69 kB / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.1209, allocations: 83.72 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.121, allocations: 103.6 kB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.32e-05/0.1211, allocations: 7.984 kB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.734e-05/0.1212, allocations: 39.8 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/0.1213, allocations: 31.83 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.1213, allocations: 4 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.432e-05/0.1214, allocations: 28 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.1214, allocations: 19.92 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.81e-05/0.1215, allocations: 39.67 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.1217, allocations: 123.5 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.1217, allocations: 4 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1217, allocations: 0 / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1217, allocations: 0 / 0.4909 GB, free: 8.68 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.0005545/0.1223, allocations: 434.7 kB / 0.4913 GB, free: 8.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1223, allocations: 11.89 kB / 0.4913 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.1224, allocations: 16.84 kB / 0.4914 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.1227, allocations: 215.7 kB / 0.4916 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1227, allocations: 384 / 0.4916 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.1227, allocations: 12.11 kB / 0.4916 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1229, allocations: 49.61 kB / 0.4916 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1229, allocations: 0 / 0.4916 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1229, allocations: 4 kB / 0.4916 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1229, allocations: 0 / 0.4916 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.473e-05/0.123, allocations: 11.98 kB / 0.4916 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.1232, allocations: 193.7 kB / 0.4918 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.1233, allocations: 50.61 kB / 0.4919 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.107e-05/0.1234, allocations: 20.8 kB / 0.4919 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.1234, allocations: 0 / 0.4919 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.1236, allocations: 79.23 kB / 0.492 GB, free: 7.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.836e-06/0.1236, allocations: 0 / 0.492 GB, free: 7.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002855/0.1239, allocations: 97.5 kB / 0.4921 GB, free: 7.336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.1239, allocations: 55.41 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.1242, allocations: 258.5 kB / 0.4924 GB, free: 7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1242, allocations: 29.7 kB / 0.4924 GB, free: 6.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.1243, allocations: 112.1 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.1243, allocations: 15.73 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.1244, allocations: 21.72 kB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1245, allocations: 338.8 kB / 0.4928 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.7e-05/0.1245, allocations: 12 kB / 0.4929 GB, free: 6.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.072e-05/0.1246, allocations: 29.69 kB / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.043e-05/0.1247, allocations: 41.7 kB / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1247, allocations: 256 / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001458/0.1249, allocations: 97.38 kB / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1249, allocations: 11.94 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1249, allocations: 0 / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1249, allocations: 0 / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.125, allocations: 8 kB / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.125, allocations: 0 / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.1251, allocations: 7.984 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.1251, allocations: 8 kB / 0.4931 GB, free: 6.238 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 0.0001098/0.1252, allocations: 145.3 kB / 0.4932 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.1252, allocations: 15.81 kB / 0.4932 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.1253, allocations: 17 kB / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1253, allocations: 3.984 kB / 0.4932 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1253, allocations: 0 / 0.4932 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1253, allocations: 0 / 0.4932 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.1255, allocations: 193.6 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1255, allocations: 3.984 kB / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.1255, allocations: 4 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1255, allocations: 0 / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1255, allocations: 4 kB / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1255, allocations: 4 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1255, allocations: 0 / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.1257, allocations: 116.9 kB / 0.4935 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.1258, allocations: 85.02 kB / 0.4936 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.1258, allocations: 0 / 0.4936 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.741e-05/0.1259, allocations: 7.938 kB / 0.4936 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.1259, allocations: 11.91 kB / 0.4936 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.1259, allocations: 8 kB / 0.4936 GB, free: 5.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.1261, allocations: 196.5 kB / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1261, allocations: 0 / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.1263, allocations: 19.98 kB / 0.4939 GB, free: 5.324 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.0009033/0.1272, allocations: 403.6 kB / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.1274, allocations: 35.98 kB / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1274, allocations: 0 / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.668e-05/0.1275, allocations: 35.97 kB / 0.4943 GB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.1278, allocations: 27.78 kB / 0.4943 GB, free: 4.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004833/0.1282, allocations: 262.5 kB / 0.4946 GB, free: 4.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.1286, allocations: 0.7158 MB / 0.4953 GB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.74e-05/0.1286, allocations: 16.8 kB / 0.4953 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.1286, allocations: 15.44 kB / 0.4953 GB, free: 3.809 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1287, allocations: 0 / 0.4953 GB, free: 3.809 MB / 382.1 MB Notification: Performance of Templates: time 0.004783/0.1334, allocations: 1.503 MB / 0.4968 GB, free: 2.305 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches