Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009502/0.0009504, allocations: 177.1 kB / 16.72 MB, free: 5.082 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.224/1.224, allocations: 205.4 MB / 222.9 MB, free: 8.949 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.0007217/0.0007217, allocations: 90.41 kB / 271.2 MB, free: 8.246 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.2889/0.2889, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004037, allocations: 12 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09426/0.09468, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.001584/0.0963, allocations: 1.263 MB / 492.1 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.09736, allocations: 0.8909 MB / 493 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.09742, allocations: 0 / 493 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.0976, allocations: 23.92 kB / 493 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.09773, allocations: 23.91 kB / 493 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.09793, allocations: 67.8 kB / 493.1 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.09805, allocations: 55.84 kB / 493.1 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.168e-05/0.09814, allocations: 15.97 kB / 493.2 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.766e-05/0.09818, allocations: 15.92 kB / 493.2 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.0983, allocations: 23.86 kB / 493.2 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.09832, allocations: 0 / 493.2 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.568e-05/0.09841, allocations: 43.97 kB / 493.2 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.114e-05/0.09845, allocations: 7.938 kB / 493.2 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.09849, allocations: 45.56 kB / 493.3 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.0986, allocations: 63.89 kB / 493.4 MB, free: 8.328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.09862, allocations: 4 kB / 493.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09862, allocations: 0 / 493.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.09863, allocations: 0 / 493.4 MB, free: 8.324 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003761/0.09901, allocations: 371.6 kB / 493.7 MB, free: 7.914 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.09905, allocations: 12.03 kB / 493.7 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.09909, allocations: 4.844 kB / 493.7 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.09926, allocations: 188.2 kB / 493.9 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.09928, allocations: 384 / 493.9 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.0993, allocations: 8.375 kB / 493.9 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.09944, allocations: 71.45 kB / 494 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.09945, allocations: 0 / 494 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.09947, allocations: 4 kB / 494 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.09948, allocations: 0 / 494 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.383e-05/0.09957, allocations: 23.98 kB / 494 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.09987, allocations: 272.9 kB / 494.3 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.1, allocations: 50.48 kB / 494.3 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.1001, allocations: 12.86 kB / 494.4 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.1001, allocations: 12.02 kB / 494.4 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.1002, allocations: 34.56 kB / 494.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1002, allocations: 0 / 494.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004864/0.1007, allocations: 157.3 kB / 494.6 MB, free: 6.953 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.1007, allocations: 77.11 kB / 494.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1008, allocations: 133.8 kB / 494.8 MB, free: 6.719 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.1008, allocations: 29.7 kB / 494.8 MB, free: 6.684 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.698e-05/0.1009, allocations: 88.14 kB / 494.9 MB, free: 6.594 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.1009, allocations: 23.72 kB / 494.9 MB, free: 6.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.1009, allocations: 3.938 kB / 494.9 MB, free: 6.566 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.364e-05/0.101, allocations: 322.8 kB / 495.2 MB, free: 6.242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.406e-05/0.1011, allocations: 23.98 kB / 495.2 MB, free: 6.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.079e-05/0.1012, allocations: 33.77 kB / 495.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1013, allocations: 60.92 kB / 495.3 MB, free: 6.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1013, allocations: 0 / 495.3 MB, free: 6.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000166/0.1015, allocations: 89.58 kB / 495.4 MB, free: 6.023 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.1015, allocations: 4 kB / 495.4 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1015, allocations: 4 kB / 495.4 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.1015, allocations: 0 / 495.4 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.799e-05/0.1016, allocations: 15.98 kB / 495.4 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1016, allocations: 0 / 495.4 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.279e-05/0.1016, allocations: 11.98 kB / 495.5 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.1017, allocations: 0 / 495.5 MB, free: 5.988 MB / 378.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 7.461e-05/0.1017, allocations: 121.8 kB / 495.6 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.1018, allocations: 11.91 kB / 495.6 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.102, allocations: 93.56 kB / 495.7 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.102, allocations: 0 / 495.7 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.102, allocations: 4 kB / 495.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.102, allocations: 0 / 495.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003674/0.1024, allocations: 358.4 kB / 496 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1024, allocations: 0 / 496 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.966e-05/0.1024, allocations: 12 kB / 496 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1025, allocations: 0 / 496 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1025, allocations: 3.984 kB / 496 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1025, allocations: 4.125 kB / 496.1 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1025, allocations: 8 kB / 496.1 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.1027, allocations: 179.4 kB / 496.2 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.1027, allocations: 93 kB / 496.3 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.1027, allocations: 0 / 496.3 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.579e-05/0.1028, allocations: 11.94 kB / 496.3 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.1029, allocations: 7.984 kB / 496.3 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.1029, allocations: 3.938 kB / 496.3 MB, free: 4.988 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.063e-05/0.1029, allocations: 107.2 kB / 496.5 MB, free: 4.883 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.103, allocations: 0 / 496.5 MB, free: 4.883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000227/0.1032, allocations: 27.94 kB / 496.5 MB, free: 4.855 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: 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.000795/0.104, allocations: 434.9 kB / 496.9 MB, free: 4.477 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.1042, allocations: 51.95 kB / 497 MB, free: 4.426 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1042, allocations: 0 / 497 MB, free: 4.426 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.705e-05/0.1043, allocations: 35.92 kB / 497 MB, free: 4.391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.1045, allocations: 15.94 kB / 497 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.1048, allocations: 194.3 kB / 497.2 MB, free: 4.148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.1051, allocations: 0.6926 MB / 497.9 MB, free: 3.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/0.1051, allocations: 11.44 kB / 497.9 MB, free: 3.422 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.1051, allocations: 0 / 497.9 MB, free: 3.422 MB / 378.7 MB Notification: Performance of Templates: time 0.002645/0.1078, allocations: 1.54 MB / 499.4 MB, free: 1.883 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches