Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001553, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 90.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3312/0.3312, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.825e-05/3.843e-05, allocations: 8 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1194, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4842/0.6037, allocations: 87.45 MB / 0.5582 GB, free: 132 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.604, allocations: 76.62 kB / 0.5583 GB, free: 96 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02472/0.6288, allocations: 5.516 MB / 0.5637 GB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.6288, allocations: 0 / 0.5637 GB, free: 11.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.6288, allocations: 7.938 kB / 0.5637 GB, free: 11.4 MB / 378.7 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.0005821/0.6294, allocations: 409.8 kB / 0.5641 GB, free: 10.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.6295, allocations: 12.03 kB / 0.5641 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.261e-05/0.6296, allocations: 7.906 kB / 0.5641 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.6301, allocations: 230.4 kB / 0.5643 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.6301, allocations: 3.938 kB / 0.5643 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.6301, allocations: 4 kB / 0.5643 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.6303, allocations: 49.36 kB / 0.5644 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.6303, allocations: 0 / 0.5644 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.6303, allocations: 0 / 0.5644 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.6303, allocations: 3.984 kB / 0.5644 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.71e-05/0.6304, allocations: 19.8 kB / 0.5644 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.6307, allocations: 192.6 kB / 0.5646 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.6309, allocations: 49.94 kB / 0.5646 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.6309, allocations: 20.88 kB / 0.5646 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.631, allocations: 7.875 kB / 0.5646 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.6312, allocations: 59.08 kB / 0.5647 GB, free: 10.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.514e-06/0.6312, allocations: 0 / 0.5647 GB, free: 10.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002882/0.6315, allocations: 88.61 kB / 0.5648 GB, free: 10.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.6315, allocations: 59.28 kB / 0.5648 GB, free: 10.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.632, allocations: 232.9 kB / 0.5651 GB, free: 9.898 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.632, allocations: 25.7 kB / 0.5651 GB, free: 9.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.468e-05/0.6321, allocations: 166.1 kB / 0.5652 GB, free: 9.719 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.6321, allocations: 19.61 kB / 0.5653 GB, free: 9.703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.6322, allocations: 0 / 0.5653 GB, free: 9.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.6323, allocations: 314.8 kB / 0.5656 GB, free: 9.387 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.793e-05/0.6324, allocations: 15.94 kB / 0.5656 GB, free: 9.375 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.132e-05/0.6324, allocations: 29.47 kB / 0.5656 GB, free: 9.348 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.918e-05/0.6325, allocations: 19.88 kB / 0.5656 GB, free: 9.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6325, allocations: 0 / 0.5656 GB, free: 9.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001876/0.6327, allocations: 72.94 kB / 0.5657 GB, free: 9.266 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.6328, allocations: 4 kB / 0.5657 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.6328, allocations: 4.094 kB / 0.5657 GB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.6328, allocations: 0 / 0.5657 GB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.633, allocations: 20.02 kB / 0.5657 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.633, allocations: 3.984 kB / 0.5657 GB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.782e-05/0.6331, allocations: 7.875 kB / 0.5657 GB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.6331, allocations: 0 / 0.5657 GB, free: 9.23 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.463e-05/0.6332, allocations: 108.9 kB / 0.5658 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.6333, allocations: 15.81 kB / 0.5658 GB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.6336, allocations: 101.4 kB / 0.5659 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.6336, allocations: 4 kB / 0.5659 GB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.6336, allocations: 4 kB / 0.5659 GB, free: 9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6336, allocations: 0 / 0.5659 GB, free: 9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.6339, allocations: 204.9 kB / 0.5661 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.6339, allocations: 3.953 kB / 0.5661 GB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.634, allocations: 4 kB / 0.5662 GB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.634, allocations: 0 / 0.5662 GB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.634, allocations: 7.984 kB / 0.5662 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.634, allocations: 0 / 0.5662 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.634, allocations: 0 / 0.5662 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.6343, allocations: 119.7 kB / 0.5663 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.6344, allocations: 104.8 kB / 0.5664 GB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.6345, allocations: 0 / 0.5664 GB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/0.6346, allocations: 7.984 kB / 0.5664 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.6346, allocations: 3.875 kB / 0.5664 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.6346, allocations: 4 kB / 0.5664 GB, free: 8.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002818/0.6349, allocations: 197.4 kB / 0.5666 GB, free: 8.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6349, allocations: 0 / 0.5666 GB, free: 8.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003166/0.6353, allocations: 27.92 kB / 0.5666 GB, free: 8.316 MB / 378.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001126/0.6364, allocations: 383.1 kB / 0.567 GB, free: 7.992 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.6366, allocations: 38.88 kB / 0.567 GB, free: 7.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6367, allocations: 0 / 0.567 GB, free: 7.965 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.318e-05/0.6367, allocations: 23 kB / 0.567 GB, free: 7.949 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.6371, allocations: 31.95 kB / 0.5671 GB, free: 7.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006239/0.6378, allocations: 224.5 kB / 0.5673 GB, free: 7.703 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.6381, allocations: 0.7313 MB / 0.568 GB, free: 6.949 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.6382, allocations: 15.44 kB / 0.568 GB, free: 6.934 MB / 378.7 MB Notification: Performance of SimCode: time 1.724e-06/0.6382, allocations: 0 / 0.568 GB, free: 6.934 MB / 378.7 MB Notification: Performance of Templates: time 0.005693/0.6439, allocations: 1.929 MB / 0.5699 GB, free: 5.012 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches