Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009174/0.0009175, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.157/1.157, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.000721/0.0007209, allocations: 86.36 kB / 271.2 MB, free: 8.242 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.2838/0.2838, allocations: 43.56 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003891, allocations: 12 kB / 432 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09515/0.09556, allocations: 58.84 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.001734/0.09733, allocations: 1.267 MB / 492.1 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.09847, allocations: 0.8909 MB / 493 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.404e-05/0.09854, allocations: 0 / 493 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.09872, allocations: 31.91 kB / 493 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.09888, allocations: 23.91 kB / 493 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.09909, allocations: 63.88 kB / 493.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.09921, allocations: 51.84 kB / 493.1 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.09931, allocations: 15.97 kB / 493.2 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.09936, allocations: 11.94 kB / 493.2 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.09947, allocations: 27.84 kB / 493.2 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.0995, allocations: 4 kB / 493.2 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.186e-05/0.09959, allocations: 43.98 kB / 493.2 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.09963, allocations: 11.91 kB / 493.3 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.09969, allocations: 37.64 kB / 493.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.09983, allocations: 63.84 kB / 493.3 MB, free: 8.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.09984, allocations: 0 / 493.3 MB, free: 8.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.09984, allocations: 0 / 493.3 MB, free: 8.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.09985, allocations: 0 / 493.3 MB, free: 8.344 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.0004359/0.1003, allocations: 375.5 kB / 493.7 MB, free: 7.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1003, allocations: 16.03 kB / 493.7 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.1004, allocations: 4.844 kB / 493.7 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.1006, allocations: 192.2 kB / 493.9 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.1006, allocations: 4.359 kB / 493.9 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.1006, allocations: 4.375 kB / 493.9 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.1008, allocations: 67.47 kB / 494 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1008, allocations: 4 kB / 494 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1008, allocations: 4 kB / 494 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.1008, allocations: 0 / 494 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.34e-05/0.1009, allocations: 27.97 kB / 494 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.1012, allocations: 264.9 kB / 494.3 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.1014, allocations: 50.5 kB / 494.3 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.1015, allocations: 20.94 kB / 494.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.1015, allocations: 0 / 494.4 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1015, allocations: 30.56 kB / 494.4 MB, free: 7.133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.1015, allocations: 0 / 494.4 MB, free: 7.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005129/0.1021, allocations: 157.3 kB / 494.5 MB, free: 6.973 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.1021, allocations: 77.11 kB / 494.6 MB, free: 6.879 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.1022, allocations: 129.8 kB / 494.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1023, allocations: 33.7 kB / 494.8 MB, free: 6.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.27e-05/0.1023, allocations: 92.12 kB / 494.9 MB, free: 6.609 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.1023, allocations: 15.75 kB / 494.9 MB, free: 6.594 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-06/0.1024, allocations: 0 / 494.9 MB, free: 6.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.1025, allocations: 330.6 kB / 495.2 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.789e-05/0.1025, allocations: 23.98 kB / 495.2 MB, free: 6.238 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.909e-05/0.1026, allocations: 37.7 kB / 495.3 MB, free: 6.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1027, allocations: 48.83 kB / 495.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1027, allocations: 7.938 kB / 495.3 MB, free: 6.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001693/0.1029, allocations: 89.61 kB / 495.4 MB, free: 6.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1029, allocations: 7.438 kB / 495.4 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1029, allocations: 0 / 495.4 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.103, allocations: 0 / 495.4 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.802e-05/0.103, allocations: 15.98 kB / 495.4 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.103, allocations: 0 / 495.4 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.172e-05/0.1031, allocations: 12 kB / 495.4 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.1031, allocations: 256 / 495.4 MB, free: 6.012 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.386e-05/0.1032, allocations: 121.8 kB / 495.6 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.1032, allocations: 7.906 kB / 495.6 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.1034, allocations: 109.5 kB / 495.7 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1035, allocations: 0 / 495.7 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1035, allocations: 4 kB / 495.7 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.1035, allocations: 0 / 495.7 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003994/0.1039, allocations: 346.5 kB / 496 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1039, allocations: 0 / 496 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.624e-05/0.104, allocations: 19.98 kB / 496 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.104, allocations: 0 / 496 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.104, allocations: 0 / 496 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.104, allocations: 3.938 kB / 496 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.104, allocations: 4 kB / 496 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.1042, allocations: 183.4 kB / 496.2 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.1043, allocations: 89.02 kB / 496.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.1043, allocations: 0 / 496.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.1044, allocations: 11.92 kB / 496.3 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.1044, allocations: 4.281 kB / 496.3 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1044, allocations: 0 / 496.3 MB, free: 5.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.527e-05/0.1045, allocations: 107.8 kB / 496.4 MB, free: 4.914 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1045, allocations: 7.938 kB / 496.4 MB, free: 4.906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.1047, allocations: 24 kB / 496.5 MB, free: 4.883 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.0008322/0.1056, allocations: 449.4 kB / 496.9 MB, free: 4.484 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.1058, allocations: 51.97 kB / 497 MB, free: 4.434 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.1058, allocations: 4 kB / 497 MB, free: 4.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.757e-05/0.1059, allocations: 27.92 kB / 497 MB, free: 4.402 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.1061, allocations: 20.17 kB / 497 MB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.1065, allocations: 198.3 kB / 497.2 MB, free: 4.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.1067, allocations: 0.6848 MB / 497.9 MB, free: 3.441 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.1068, allocations: 15.42 kB / 497.9 MB, free: 3.43 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1068, allocations: 0 / 497.9 MB, free: 3.43 MB / 378.7 MB Notification: Performance of Templates: time 0.002905/0.1097, allocations: 1.54 MB / 499.4 MB, free: 1.891 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches