Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008656/0.000866, allocations: 175 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.177/1.177, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.000733/0.0007331, allocations: 92.69 kB / 271.2 MB, free: 8.262 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.2925/0.2925, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003329, allocations: 16 kB / 432 MB, free: 5.605 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09667/0.09702, allocations: 58.85 MB / 490.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.001686/0.09875, allocations: 1.279 MB / 492.1 MB, free: 9.387 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005371/0.09931, allocations: 311.7 kB / 492.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.734e-05/0.09938, allocations: 0 / 492.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.09963, allocations: 87.8 kB / 492.5 MB, free: 8.992 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.09979, allocations: 63.86 kB / 492.6 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.1001, allocations: 87.83 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.1002, allocations: 67.81 kB / 492.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.438e-05/0.1003, allocations: 20.17 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.603e-05/0.1004, allocations: 35.89 kB / 492.8 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.557e-05/0.1005, allocations: 43.83 kB / 492.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1005, allocations: 0 / 492.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.045e-05/0.1006, allocations: 23.98 kB / 492.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.1006, allocations: 23.92 kB / 492.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.904e-05/0.1007, allocations: 65.44 kB / 492.9 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.1008, allocations: 75.88 kB / 493 MB, free: 8.488 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1008, allocations: 0 / 493 MB, free: 8.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1008, allocations: 0 / 493 MB, free: 8.488 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.1008, allocations: 0 / 493 MB, free: 8.488 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004287/0.1013, allocations: 407.2 kB / 493.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1013, allocations: 12.03 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.1014, allocations: 12.75 kB / 493.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.1015, allocations: 200.1 kB / 493.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1016, allocations: 4.375 kB / 493.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.1016, allocations: 384 / 493.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1018, allocations: 87.25 kB / 493.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1018, allocations: 4 kB / 493.7 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1018, allocations: 3.938 kB / 493.7 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1018, allocations: 0 / 493.7 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1019, allocations: 43.97 kB / 493.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.1024, allocations: 404.9 kB / 494.1 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.1026, allocations: 89.2 kB / 494.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.006e-05/0.1027, allocations: 37.73 kB / 494.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.1028, allocations: 3.984 kB / 494.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1028, allocations: 38.56 kB / 494.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1028, allocations: 0 / 494.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006988/0.1035, allocations: 256.7 kB / 494.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.1036, allocations: 77.11 kB / 494.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.1037, allocations: 234.3 kB / 494.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1038, allocations: 29.7 kB / 494.9 MB, free: 6.359 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.1038, allocations: 111.9 kB / 495 MB, free: 6.246 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.1039, allocations: 35.55 kB / 495 MB, free: 6.211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-06/0.1039, allocations: 0 / 495 MB, free: 6.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.104, allocations: 322.8 kB / 495.3 MB, free: 5.887 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.805e-05/0.1041, allocations: 39.98 kB / 495.4 MB, free: 5.848 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.99e-05/0.1042, allocations: 49.69 kB / 495.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.1044, allocations: 101.6 kB / 495.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1044, allocations: 0 / 495.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002327/0.1046, allocations: 129.7 kB / 495.7 MB, free: 5.555 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1046, allocations: 7.938 kB / 495.7 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1046, allocations: 3.938 kB / 495.7 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.1046, allocations: 0 / 495.7 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.695e-05/0.1047, allocations: 27.98 kB / 495.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1048, allocations: 3.938 kB / 495.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.02e-05/0.1048, allocations: 15.98 kB / 495.7 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1048, allocations: 0 / 495.7 MB, free: 5.496 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 9.709e-05/0.1049, allocations: 137.8 kB / 495.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.105, allocations: 7.906 kB / 495.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.1053, allocations: 162.5 kB / 496 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1053, allocations: 0 / 496 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1053, allocations: 3.938 kB / 496 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1053, allocations: 0 / 496 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006004/0.1059, allocations: 0.5103 MB / 496.5 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1059, allocations: 4.188 kB / 496.5 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.666e-05/0.106, allocations: 23.92 kB / 496.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.106, allocations: 7.938 kB / 496.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.1061, allocations: 4.031 kB / 496.6 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1061, allocations: 256 / 496.6 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.1061, allocations: 4 kB / 496.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.1064, allocations: 315.4 kB / 496.9 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.1064, allocations: 92.94 kB / 497 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.1064, allocations: 4 kB / 497 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1065, allocations: 8 kB / 497 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1066, allocations: 11.92 kB / 497 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.1066, allocations: 4 kB / 497 MB, free: 4.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001289/0.1067, allocations: 172.2 kB / 497.2 MB, free: 3.922 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1067, allocations: 4 kB / 497.2 MB, free: 3.918 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00027/0.107, allocations: 20 kB / 497.2 MB, free: 3.898 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.000784/0.1078, allocations: 403.9 kB / 497.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.1081, allocations: 87.89 kB / 497.7 MB, free: 3.453 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1081, allocations: 4 kB / 497.7 MB, free: 3.449 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.715e-05/0.1082, allocations: 51.91 kB / 497.7 MB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1086, allocations: 23.95 kB / 497.8 MB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004858/0.109, allocations: 349.1 kB / 498.1 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.1093, allocations: 0.7121 MB / 498.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.1094, allocations: 19.42 kB / 498.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.1094, allocations: 0 / 498.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of Templates: time 0.003155/0.1125, allocations: 1.77 MB / 0.4889 GB, free: 480 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches