Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.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.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001549/0.001549, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.996/1.996, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001124/0.001123, allocations: 99.38 kB / 270.9 MB, free: 8.367 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.5189/0.5189, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006415/0.0006417, allocations: 16 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1271, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4465/0.5737, allocations: 86.34 MB / 0.563 GB, free: 400 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.574, allocations: 75.97 kB / 0.5631 GB, free: 324 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01527/0.5893, allocations: 3.559 MB / 0.5666 GB, free: 12.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.5893, allocations: 4 kB / 0.5666 GB, free: 12.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.5893, allocations: 4 kB / 0.5666 GB, free: 12.79 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004905/0.5898, allocations: 395.7 kB / 0.567 GB, free: 12.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5899, allocations: 12.02 kB / 0.567 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.5899, allocations: 8.656 kB / 0.567 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.5902, allocations: 190.3 kB / 0.5672 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.5902, allocations: 4 kB / 0.5672 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.5903, allocations: 0 / 0.5672 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.5904, allocations: 53.69 kB / 0.5672 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.5905, allocations: 3.938 kB / 0.5672 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.5905, allocations: 0 / 0.5672 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.5905, allocations: 4 kB / 0.5672 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.5907, allocations: 32.94 kB / 0.5673 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.5911, allocations: 268.9 kB / 0.5675 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.5914, allocations: 50.48 kB / 0.5676 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.5914, allocations: 0 / 0.5676 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.5914, allocations: 37.12 kB / 0.5676 GB, free: 11.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.5915, allocations: 0 / 0.5676 GB, free: 11.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007996/0.5923, allocations: 153.4 kB / 0.5678 GB, free: 11.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.5923, allocations: 51.41 kB / 0.5678 GB, free: 11.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.5925, allocations: 148.1 kB / 0.5679 GB, free: 11.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.5925, allocations: 29.7 kB / 0.568 GB, free: 11.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.5926, allocations: 154.6 kB / 0.5681 GB, free: 11.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.5927, allocations: 31.62 kB / 0.5682 GB, free: 11.01 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.5927, allocations: 0 / 0.5682 GB, free: 11.01 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5928, allocations: 310.8 kB / 0.5684 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.593, allocations: 28.11 kB / 0.5685 GB, free: 10.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.5931, allocations: 23.98 kB / 0.5685 GB, free: 10.65 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.5932, allocations: 23.98 kB / 0.5685 GB, free: 10.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5932, allocations: 0 / 0.5685 GB, free: 10.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002991/0.5935, allocations: 85.61 kB / 0.5686 GB, free: 10.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.5936, allocations: 4 kB / 0.5686 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.5936, allocations: 0 / 0.5686 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.5936, allocations: 4 kB / 0.5686 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.5937, allocations: 15.98 kB / 0.5686 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.5938, allocations: 4 kB / 0.5686 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.5938, allocations: 4 kB / 0.5686 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.5939, allocations: 5.25 kB / 0.5686 GB, free: 10.5 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 () * Number of clocked 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 0.0001076/0.594, allocations: 125.8 kB / 0.5688 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.594, allocations: 3.906 kB / 0.5688 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003646/0.5944, allocations: 102.7 kB / 0.5689 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5944, allocations: 0 / 0.5689 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.5944, allocations: 0 / 0.5689 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5945, allocations: 4 kB / 0.5689 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006296/0.5951, allocations: 358.8 kB / 0.5692 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.5951, allocations: 4.062 kB / 0.5692 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.5952, allocations: 12 kB / 0.5692 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5952, allocations: 0 / 0.5692 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.5953, allocations: 4 kB / 0.5692 GB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.5953, allocations: 3.984 kB / 0.5692 GB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.5953, allocations: 0 / 0.5692 GB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.5956, allocations: 191.3 kB / 0.5694 GB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.5957, allocations: 93.02 kB / 0.5695 GB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.5958, allocations: 3.984 kB / 0.5695 GB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.5959, allocations: 11.94 kB / 0.5695 GB, free: 9.496 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.5959, allocations: 3.984 kB / 0.5695 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.596, allocations: 4 kB / 0.5695 GB, free: 9.488 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.5961, allocations: 117.9 kB / 0.5696 GB, free: 9.375 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5961, allocations: 0 / 0.5696 GB, free: 9.375 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000323/0.5964, allocations: 23.98 kB / 0.5697 GB, free: 9.352 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 () * Number of clocked 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.001166/0.5976, allocations: 411.6 kB / 0.57 GB, free: 9.043 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003153/0.5979, allocations: 59.89 kB / 0.5701 GB, free: 8.984 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.598, allocations: 0 / 0.5701 GB, free: 8.984 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.5981, allocations: 31.98 kB / 0.5701 GB, free: 8.953 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.5984, allocations: 15.88 kB / 0.5702 GB, free: 8.938 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.5989, allocations: 220.5 kB / 0.5704 GB, free: 8.695 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.5992, allocations: 0.7004 MB / 0.571 GB, free: 7.969 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.5993, allocations: 11.44 kB / 0.5711 GB, free: 7.957 MB / 394.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5993, allocations: 3.938 kB / 0.5711 GB, free: 7.953 MB / 394.7 MB Notification: Performance of Templates: time 0.004191/0.6035, allocations: 1.402 MB / 0.5724 GB, free: 6.551 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches