Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 108.8 kB / 16.41 MB, free: 6.504 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.001463/0.001463, allocations: 188.1 kB / 17.34 MB, free: 5.758 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.733/1.733, allocations: 205.1 MB / 223.2 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.2406/0.2406, allocations: 43.52 MB / 314.1 MB, free: 468 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.00131/0.00131, allocations: 68.45 kB / 441.9 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1163, allocations: 57.79 MB / 499.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002724/0.119, allocations: 1.654 MB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1202, allocations: 0.7766 MB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.1203, allocations: 4 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.1206, allocations: 63.72 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.1208, allocations: 63.75 kB / 0.4905 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.121, allocations: 87.75 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1212, allocations: 95.69 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.1213, allocations: 19.97 kB / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.131e-05/0.1213, allocations: 43.78 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.882e-05/0.1215, allocations: 47.77 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.1215, allocations: 4 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.509e-05/0.1216, allocations: 27.98 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.1216, allocations: 11.94 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.1217, allocations: 31.8 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.1218, allocations: 103.6 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1219, allocations: 0 / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1219, allocations: 4 kB / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1219, allocations: 0 / 0.4909 GB, free: 8.688 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.0005042/0.1224, allocations: 410.2 kB / 0.4913 GB, free: 8.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1224, allocations: 11.89 kB / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.1225, allocations: 16.84 kB / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.1227, allocations: 208.1 kB / 0.4915 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.1227, allocations: 4.359 kB / 0.4915 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.1228, allocations: 12.06 kB / 0.4915 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1229, allocations: 45.69 kB / 0.4916 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1229, allocations: 3.984 kB / 0.4916 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.1229, allocations: 0 / 0.4916 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1229, allocations: 7.984 kB / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.897e-05/0.123, allocations: 15.94 kB / 0.4916 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.1232, allocations: 177.7 kB / 0.4918 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.1234, allocations: 54.55 kB / 0.4918 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.1234, allocations: 24.8 kB / 0.4919 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1235, allocations: 3.984 kB / 0.4919 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.1236, allocations: 71.33 kB / 0.4919 GB, free: 7.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.1236, allocations: 0 / 0.4919 GB, free: 7.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002611/0.1239, allocations: 89.62 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.1239, allocations: 51.41 kB / 0.4921 GB, free: 7.324 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.1241, allocations: 194.2 kB / 0.4923 GB, free: 7.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1241, allocations: 25.7 kB / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.1242, allocations: 96.14 kB / 0.4924 GB, free: 6.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.1242, allocations: 19.88 kB / 0.4924 GB, free: 6.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.1243, allocations: 17.72 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1244, allocations: 322.8 kB / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.781e-05/0.1244, allocations: 12 kB / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-05/0.1245, allocations: 29.7 kB / 0.4928 GB, free: 6.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.1246, allocations: 45.64 kB / 0.4928 GB, free: 6.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1246, allocations: 4.25 kB / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001504/0.1248, allocations: 89.47 kB / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1248, allocations: 4 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1248, allocations: 160 / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1248, allocations: 4 kB / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.1249, allocations: 20.02 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1249, allocations: 3.984 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.1249, allocations: 4 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.125, allocations: 0 / 0.4929 GB, free: 6.398 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 9.574e-05/0.1251, allocations: 129.7 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.1251, allocations: 11.95 kB / 0.4931 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.1251, allocations: 12.31 kB / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1251, allocations: 0 / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1251, allocations: 3.938 kB / 0.4931 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1251, allocations: 4 kB / 0.4931 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.1253, allocations: 197.5 kB / 0.4933 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1253, allocations: 0 / 0.4933 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/0.1253, allocations: 7.938 kB / 0.4933 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1253, allocations: 0 / 0.4933 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1253, allocations: 0 / 0.4933 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1254, allocations: 0 / 0.4933 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1254, allocations: 0 / 0.4933 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.1255, allocations: 117 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.1256, allocations: 85.06 kB / 0.4935 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1256, allocations: 0 / 0.4935 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.652e-05/0.1257, allocations: 7.984 kB / 0.4935 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.1257, allocations: 3.938 kB / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1257, allocations: 4 kB / 0.4935 GB, free: 5.727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.1258, allocations: 148 kB / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1258, allocations: 0 / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002033/0.126, allocations: 15.94 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.000895/0.1269, allocations: 418.1 kB / 0.494 GB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.1271, allocations: 35.98 kB / 0.4941 GB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1271, allocations: 0 / 0.4941 GB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.408e-05/0.1272, allocations: 23.92 kB / 0.4941 GB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.1275, allocations: 39.47 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.0003968/0.1279, allocations: 193.8 kB / 0.4943 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.1282, allocations: 0.7002 MB / 0.495 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.612e-05/0.1282, allocations: 16.8 kB / 0.495 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.1283, allocations: 15.44 kB / 0.495 GB, free: 4.125 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1283, allocations: 0 / 0.495 GB, free: 4.125 MB / 382.1 MB Notification: Performance of Templates: time 0.003879/0.1322, allocations: 1.467 MB / 0.4965 GB, free: 2.656 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches