Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,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.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,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.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008998/0.0008998, allocations: 175.5 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.214/1.214, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.000709/0.0007089, allocations: 86.36 kB / 271.2 MB, free: 8.25 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.2844/0.2844, allocations: 43.56 MB / 363.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003263, allocations: 12 kB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09371/0.09406, allocations: 58.84 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.001655/0.09575, allocations: 1.271 MB / 492.1 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.09684, allocations: 0.8949 MB / 493 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.09689, allocations: 4 kB / 493 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.09707, allocations: 23.91 kB / 493 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.09723, allocations: 27.86 kB / 493 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.09743, allocations: 67.91 kB / 493.1 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.09755, allocations: 55.84 kB / 493.2 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.166e-05/0.09765, allocations: 24.16 kB / 493.2 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.959e-05/0.09769, allocations: 15.88 kB / 493.2 MB, free: 8.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.09781, allocations: 31.89 kB / 493.2 MB, free: 8.238 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.09783, allocations: 3.938 kB / 493.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.09794, allocations: 47.97 kB / 493.3 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.876e-05/0.09797, allocations: 4 kB / 493.3 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.09802, allocations: 53.5 kB / 493.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.09815, allocations: 67.89 kB / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.09817, allocations: 0 / 493.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.09818, allocations: 7.922 kB / 493.4 MB, free: 8.051 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.09819, allocations: 0 / 493.4 MB, free: 8.051 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004003/0.09859, allocations: 375.6 kB / 493.8 MB, free: 7.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.09863, allocations: 8.031 kB / 493.8 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.09867, allocations: 8.844 kB / 493.8 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.09886, allocations: 188.2 kB / 494 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.09888, allocations: 4.375 kB / 494 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.0989, allocations: 8.031 kB / 494 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.09906, allocations: 83.33 kB / 494.1 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.09908, allocations: 0 / 494.1 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.0991, allocations: 0 / 494.1 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.09911, allocations: 4 kB / 494.1 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.09922, allocations: 31.97 kB / 494.1 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.09956, allocations: 296.8 kB / 494.4 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.09968, allocations: 62.48 kB / 494.5 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.09976, allocations: 16.98 kB / 494.5 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.09979, allocations: 4 kB / 494.5 MB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.09982, allocations: 34.55 kB / 494.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.09983, allocations: 4 kB / 494.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005554/0.1004, allocations: 185.2 kB / 494.7 MB, free: 6.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.1005, allocations: 89.05 kB / 494.8 MB, free: 6.484 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1006, allocations: 141.4 kB / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.1006, allocations: 33.64 kB / 495 MB, free: 6.301 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.1007, allocations: 92.12 kB / 495.1 MB, free: 6.207 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.1007, allocations: 27.56 kB / 495.1 MB, free: 6.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.1007, allocations: 0 / 495.1 MB, free: 6.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.1008, allocations: 318.8 kB / 495.4 MB, free: 5.859 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.79e-05/0.1009, allocations: 35.98 kB / 495.4 MB, free: 5.824 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-05/0.101, allocations: 49.69 kB / 495.5 MB, free: 5.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.1011, allocations: 73.08 kB / 495.5 MB, free: 5.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1011, allocations: 0 / 495.5 MB, free: 5.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002004/0.1013, allocations: 101.6 kB / 495.6 MB, free: 5.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1014, allocations: 7.281 kB / 495.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1014, allocations: 4 kB / 495.7 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.1014, allocations: 0 / 495.7 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.597e-05/0.1015, allocations: 27.92 kB / 495.7 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1015, allocations: 3.938 kB / 495.7 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.1016, allocations: 7.984 kB / 495.7 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1016, allocations: 4 kB / 495.7 MB, free: 5.539 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 (8): * Single equations (assignments): 8 * 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.356e-05/0.1016, allocations: 117.8 kB / 495.8 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.1017, allocations: 7.906 kB / 495.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.1019, allocations: 118 kB / 495.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.102, allocations: 4 kB / 495.9 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.102, allocations: 3.938 kB / 495.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.102, allocations: 0 / 495.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.1024, allocations: 394.5 kB / 496.3 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1024, allocations: 3.984 kB / 496.3 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.388e-05/0.1025, allocations: 16 kB / 496.3 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1025, allocations: 3.938 kB / 496.4 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.1025, allocations: 0 / 496.4 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1025, allocations: 4.359 kB / 496.4 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1025, allocations: 3.938 kB / 496.4 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.1028, allocations: 203.4 kB / 496.6 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.1028, allocations: 96.92 kB / 496.7 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.1028, allocations: 8 kB / 496.7 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.1029, allocations: 11.98 kB / 496.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.1029, allocations: 8 kB / 496.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.103, allocations: 3.938 kB / 496.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.421e-05/0.103, allocations: 115.2 kB / 496.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1031, allocations: 0 / 496.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.1033, allocations: 20 kB / 496.8 MB, free: 4.316 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 (8): * Single equations (assignments): 8 * 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.0008118/0.1041, allocations: 438.7 kB / 497.2 MB, free: 3.922 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.1043, allocations: 75.88 kB / 497.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1043, allocations: 0 / 497.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.303e-05/0.1044, allocations: 43.98 kB / 497.4 MB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.1047, allocations: 23.86 kB / 497.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003932/0.1051, allocations: 230.6 kB / 497.6 MB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1054, allocations: 0.6964 MB / 498.3 MB, free: 2.801 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.1054, allocations: 19.42 kB / 498.3 MB, free: 2.781 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1054, allocations: 0 / 498.3 MB, free: 2.781 MB / 378.7 MB Notification: Performance of Templates: time 0.002884/0.1083, allocations: 1.708 MB / 0.4883 GB, free: 1.074 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches