Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00238/0.002379, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.973/1.973, 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.001573/0.001573, allocations: 99.33 kB / 270.9 MB, free: 8.371 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.5752/0.5752, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004595, allocations: 8 kB / 431.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1259, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4543/0.5802, allocations: 86.34 MB / 0.563 GB, free: 256 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.5805, allocations: 75.97 kB / 0.5631 GB, free: 180 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01513/0.5957, allocations: 3.577 MB / 0.5666 GB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5957, allocations: 0 / 0.5666 GB, free: 12.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.5957, allocations: 0 / 0.5666 GB, free: 12.64 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.000515/0.5963, allocations: 395.7 kB / 0.567 GB, free: 12.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.5963, allocations: 16.02 kB / 0.567 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.5964, allocations: 7.906 kB / 0.567 GB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.5967, allocations: 197.3 kB / 0.5672 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.5967, allocations: 3.656 kB / 0.5672 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.5967, allocations: 4 kB / 0.5672 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.5969, allocations: 49.62 kB / 0.5672 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5969, allocations: 0 / 0.5672 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.597, allocations: 4 kB / 0.5673 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.597, allocations: 0 / 0.5673 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.5971, allocations: 33 kB / 0.5673 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.5976, allocations: 272.1 kB / 0.5675 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.5978, allocations: 50.48 kB / 0.5676 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.5979, allocations: 4 kB / 0.5676 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.5979, allocations: 30.56 kB / 0.5676 GB, free: 11.45 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.5979, allocations: 0 / 0.5676 GB, free: 11.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007949/0.5987, allocations: 161.4 kB / 0.5678 GB, free: 11.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.5988, allocations: 51.41 kB / 0.5678 GB, free: 11.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.599, allocations: 141.1 kB / 0.568 GB, free: 11.08 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.599, allocations: 29.7 kB / 0.568 GB, free: 11.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.5991, allocations: 154.6 kB / 0.5681 GB, free: 10.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.5992, allocations: 23.64 kB / 0.5682 GB, free: 10.87 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-06/0.5992, allocations: 4 kB / 0.5682 GB, free: 10.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.5993, allocations: 318.8 kB / 0.5685 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.5995, allocations: 20.17 kB / 0.5685 GB, free: 10.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.5996, allocations: 23.98 kB / 0.5685 GB, free: 10.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.5997, allocations: 27.98 kB / 0.5685 GB, free: 10.47 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.5998, allocations: 0 / 0.5685 GB, free: 10.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002935/0.6001, allocations: 77.61 kB / 0.5686 GB, free: 10.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.6001, allocations: 8 kB / 0.5686 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.6001, allocations: 0 / 0.5686 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.6001, allocations: 0 / 0.5686 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.6003, allocations: 19.98 kB / 0.5686 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6003, allocations: 0 / 0.5686 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.31e-05/0.6004, allocations: 8 kB / 0.5686 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.6004, allocations: 7.953 kB / 0.5687 GB, free: 10.35 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.0001071/0.6005, allocations: 117.8 kB / 0.5688 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.6006, allocations: 7.906 kB / 0.5688 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003646/0.6009, allocations: 102.8 kB / 0.5689 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.6009, allocations: 0 / 0.5689 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.601, allocations: 0.5 kB / 0.5689 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.601, allocations: 3.984 kB / 0.5689 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006196/0.6016, allocations: 358.8 kB / 0.5692 GB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.6016, allocations: 8.812 kB / 0.5692 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.622e-05/0.6017, allocations: 8 kB / 0.5692 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.6018, allocations: 4 kB / 0.5692 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.6018, allocations: 0 / 0.5692 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.6018, allocations: 0 / 0.5692 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6018, allocations: 3.938 kB / 0.5692 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.6022, allocations: 195.4 kB / 0.5694 GB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.586e-05/0.6022, allocations: 89.02 kB / 0.5695 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.6023, allocations: 7.922 kB / 0.5695 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.6024, allocations: 4 kB / 0.5695 GB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.6024, allocations: 8 kB / 0.5695 GB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.6024, allocations: 0 / 0.5695 GB, free: 9.344 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.6026, allocations: 126.3 kB / 0.5696 GB, free: 9.223 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6026, allocations: 0 / 0.5696 GB, free: 9.223 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003334/0.6029, allocations: 27.92 kB / 0.5697 GB, free: 9.195 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.001155/0.6041, allocations: 402.3 kB / 0.5701 GB, free: 8.895 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003001/0.6044, allocations: 55.91 kB / 0.5701 GB, free: 8.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6044, allocations: 0 / 0.5701 GB, free: 8.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.6046, allocations: 31.97 kB / 0.5701 GB, free: 8.809 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.6049, allocations: 19.92 kB / 0.5702 GB, free: 8.789 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005025/0.6054, allocations: 224.5 kB / 0.5704 GB, free: 8.543 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.6057, allocations: 0.7004 MB / 0.5711 GB, free: 7.816 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/0.6058, allocations: 11.44 kB / 0.5711 GB, free: 7.809 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6058, allocations: 0 / 0.5711 GB, free: 7.809 MB / 394.7 MB Notification: Performance of Templates: time 0.004218/0.61, allocations: 1.394 MB / 0.5724 GB, free: 6.414 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches