Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001295/0.001295, allocations: 183.2 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001077/0.001078, allocations: 88.81 kB / 267 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3465/0.3465, allocations: 43.48 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.099e-05, allocations: 4 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1259, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3823/0.5083, allocations: 87.17 MB / 0.5579 GB, free: 16.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.5085, allocations: 71.64 kB / 0.558 GB, free: 16.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01459/0.5231, allocations: 7.812 MB / 0.5656 GB, free: 11.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5232, allocations: 0 / 0.5656 GB, free: 11.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.988e-05/0.5232, allocations: 12 kB / 0.5656 GB, free: 11.46 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004085/0.5236, allocations: 0.5547 MB / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.5237, allocations: 8.031 kB / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.5237, allocations: 43.44 kB / 0.5662 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.5241, allocations: 329.7 kB / 0.5665 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.5242, allocations: 4.906 kB / 0.5666 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.5242, allocations: 4 kB / 0.5666 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.5243, allocations: 49.5 kB / 0.5666 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.5243, allocations: 0 / 0.5666 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.5243, allocations: 3.25 kB / 0.5666 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5244, allocations: 4 kB / 0.5666 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.132e-05/0.5244, allocations: 30.14 kB / 0.5666 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.5249, allocations: 438.8 kB / 0.5671 GB, free: 9.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.525, allocations: 41.39 kB / 0.5671 GB, free: 9.938 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.5251, allocations: 20.94 kB / 0.5671 GB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.5251, allocations: 3.625 kB / 0.5671 GB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.251e-05/0.5251, allocations: 42.52 kB / 0.5672 GB, free: 9.863 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.5251, allocations: 0 / 0.5672 GB, free: 9.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003734/0.5255, allocations: 197.3 kB / 0.5673 GB, free: 9.676 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.5255, allocations: 51.41 kB / 0.5674 GB, free: 9.613 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008928/0.5264, allocations: 0.7852 MB / 0.5682 GB, free: 9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.5265, allocations: 27.39 kB / 0.5682 GB, free: 8.969 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.394e-05/0.5266, allocations: 224.4 kB / 0.5684 GB, free: 8.844 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.5266, allocations: 15.75 kB / 0.5684 GB, free: 8.828 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.5266, allocations: 0 / 0.5684 GB, free: 8.828 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.467e-05/0.5267, allocations: 363.4 kB / 0.5688 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.574e-05/0.5267, allocations: 11.56 kB / 0.5688 GB, free: 8.477 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/0.5267, allocations: 11.75 kB / 0.5688 GB, free: 8.469 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/0.5267, allocations: 15.92 kB / 0.5688 GB, free: 8.457 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.5268, allocations: 4 kB / 0.5688 GB, free: 8.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001106/0.5269, allocations: 107.8 kB / 0.5689 GB, free: 8.352 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.5269, allocations: 7.953 kB / 0.5689 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5269, allocations: 0 / 0.5689 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.5269, allocations: 0 / 0.5689 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.527, allocations: 12 kB / 0.5689 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.527, allocations: 2.5 kB / 0.5689 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.857e-05/0.5271, allocations: 15.48 kB / 0.5689 GB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.5271, allocations: 0 / 0.5689 GB, free: 8.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 3.663e-05/0.5271, allocations: 106.2 kB / 0.569 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.5272, allocations: 45.41 kB / 0.5691 GB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.5274, allocations: 132.4 kB / 0.5692 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5274, allocations: 144 / 0.5692 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5274, allocations: 7.938 kB / 0.5692 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5274, allocations: 3.984 kB / 0.5692 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/0.528, allocations: 0.571 MB / 0.5698 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.528, allocations: 7.953 kB / 0.5698 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.5281, allocations: 16.36 kB / 0.5698 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.5281, allocations: 0 / 0.5698 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.5281, allocations: 0 / 0.5698 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.5281, allocations: 4 kB / 0.5698 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5281, allocations: 3.938 kB / 0.5698 GB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.5283, allocations: 196.3 kB / 0.57 GB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.5285, allocations: 170.1 kB / 0.5702 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.5285, allocations: 0 / 0.5702 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.5286, allocations: 7.984 kB / 0.5702 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.5286, allocations: 4 kB / 0.5702 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.5287, allocations: 0 / 0.5702 GB, free: 7.082 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000492/0.5292, allocations: 0.638 MB / 0.5708 GB, free: 6.625 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5292, allocations: 0 / 0.5708 GB, free: 6.625 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002572/0.5294, allocations: 67.83 kB / 0.5709 GB, free: 6.559 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0006931/0.5301, allocations: 371 kB / 0.5712 GB, free: 6.277 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.5302, allocations: 33.17 kB / 0.5712 GB, free: 6.254 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.5302, allocations: 0 / 0.5712 GB, free: 6.254 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.194e-05/0.5303, allocations: 18.25 kB / 0.5713 GB, free: 6.242 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.5305, allocations: 25.83 kB / 0.5713 GB, free: 6.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007555/0.5313, allocations: 0.722 MB / 0.572 GB, free: 5.566 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.5315, allocations: 0.8378 MB / 0.5728 GB, free: 4.719 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.684e-05/0.5316, allocations: 44.22 kB / 0.5729 GB, free: 4.676 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.5317, allocations: 19.44 kB / 0.5729 GB, free: 4.656 MB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5317, allocations: 0 / 0.5729 GB, free: 4.656 MB / 394.7 MB Notification: Performance of Templates: time 0.005041/0.5367, allocations: 2.458 MB / 0.5753 GB, free: 2.203 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches