Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 109.1 kB / 17.04 MB, free: 5.797 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.001374/0.001374, allocations: 195 kB / 17.98 MB, free: 5.016 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.598/1.598, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.206/0.206, allocations: 43.52 MB / 314.7 MB, free: 484 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.00133/0.00133, allocations: 65.55 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09338/0.09472, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002593/0.09735, allocations: 1.693 MB / 443.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.09878, allocations: 1.402 MB / 445.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.567e-05/0.09885, allocations: 7.875 kB / 445.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.09908, allocations: 43.77 kB / 445.1 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.09927, allocations: 63.69 kB / 445.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.09947, allocations: 79.77 kB / 445.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.09961, allocations: 95.75 kB / 445.4 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.186e-05/0.0997, allocations: 8.234 kB / 445.4 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.418e-05/0.09977, allocations: 43.78 kB / 445.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.09989, allocations: 43.77 kB / 445.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.09991, allocations: 8 kB / 445.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.64e-05/0.1, allocations: 63.91 kB / 445.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.1001, allocations: 11.98 kB / 445.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.1001, allocations: 27.81 kB / 445.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.1003, allocations: 123.6 kB / 445.7 MB, free: 2.422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.634e-06/0.1003, allocations: 0 / 445.7 MB, free: 2.422 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1003, allocations: 0 / 445.7 MB, free: 2.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1003, allocations: 0 / 445.7 MB, free: 2.422 MB / 318.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.0003728/0.1007, allocations: 411 kB / 446.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1007, allocations: 11.89 kB / 446.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.1008, allocations: 16.72 kB / 446.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.101, allocations: 201.4 kB / 446.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.101, allocations: 384 / 446.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.101, allocations: 8.125 kB / 446.3 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.1011, allocations: 71.39 kB / 446.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1012, allocations: 3.906 kB / 446.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1012, allocations: 0 / 446.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1012, allocations: 4 kB / 446.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.321e-05/0.1012, allocations: 19.92 kB / 446.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.1015, allocations: 284.8 kB / 446.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1017, allocations: 62.67 kB / 446.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.1017, allocations: 16.86 kB / 446.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1017, allocations: 0 / 446.8 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/0.1019, allocations: 75.31 kB / 446.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1019, allocations: 0 / 446.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004281/0.1023, allocations: 161.5 kB / 447 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.1023, allocations: 81.11 kB / 447.1 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.68e-05/0.1024, allocations: 156.9 kB / 447.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.1025, allocations: 29.7 kB / 447.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.1025, allocations: 100.1 kB / 447.4 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.1025, allocations: 23.66 kB / 447.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.1026, allocations: 29.7 kB / 447.4 MB, free: 484 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.729e-05/0.1026, allocations: 318.8 kB / 447.7 MB, free: 156 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.727e-05/0.1027, allocations: 24.17 kB / 447.7 MB, free: 132 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.918e-05/0.1027, allocations: 54.5 kB / 447.8 MB, free: 68 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.314e-05/0.1028, allocations: 61.64 kB / 447.9 MB, free: 0 / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1028, allocations: 0 / 447.9 MB, free: 0 / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001843/0.103, allocations: 93.59 kB / 448 MB, free: 15.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.103, allocations: 4 kB / 448 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.103, allocations: 3.938 kB / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.103, allocations: 4.062 kB / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.827e-05/0.1031, allocations: 19.98 kB / 448 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1031, allocations: 0 / 448 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.1032, allocations: 11.84 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1032, allocations: 7.938 kB / 448 MB, free: 15.85 MB / 334.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 8.065e-05/0.1033, allocations: 129.4 kB / 448.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.1033, allocations: 7.906 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.1034, allocations: 16.7 kB / 448.2 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1034, allocations: 0 / 448.2 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.1034, allocations: 4 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1034, allocations: 7.922 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.1038, allocations: 391.5 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1038, allocations: 0 / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.1039, allocations: 11.94 kB / 448.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1039, allocations: 0 / 448.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.1039, allocations: 7.938 kB / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1039, allocations: 3.984 kB / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1039, allocations: 4.031 kB / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.1041, allocations: 200.3 kB / 448.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.1041, allocations: 85.02 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.1042, allocations: 7.938 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.1042, allocations: 4 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.1043, allocations: 7.984 kB / 448.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.1043, allocations: 8 kB / 448.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.133e-05/0.1044, allocations: 115.2 kB / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1044, allocations: 3.938 kB / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1047, allocations: 28 kB / 449 MB, free: 14.72 MB / 334.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.00101/0.1057, allocations: 0.4971 MB / 449.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.1058, allocations: 59.91 kB / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.1059, allocations: 4 kB / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.442e-05/0.1059, allocations: 20 kB / 449.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.1063, allocations: 40.39 kB / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.1067, allocations: 194.8 kB / 449.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.1069, allocations: 0.7002 MB / 450.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.488e-05/0.107, allocations: 24.81 kB / 450.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.107, allocations: 15.44 kB / 450.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.107, allocations: 0 / 450.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of Templates: time 0.004337/0.1114, allocations: 1.947 MB / 452.5 MB, free: 11.26 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches