Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001307/0.001307, allocations: 177.5 kB / 16.41 MB, free: 5.707 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.457/1.457, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007279/0.0007278, allocations: 90.3 kB / 270.9 MB, free: 8.355 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.304/0.304, allocations: 43.56 MB / 362.7 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 20 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09721/0.09756, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.001689/0.0993, allocations: 1.267 MB / 491.5 MB, free: 9.949 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005076/0.09982, allocations: 287.8 kB / 491.8 MB, free: 9.664 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.09988, allocations: 3.938 kB / 491.8 MB, free: 9.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.1001, allocations: 31.89 kB / 491.8 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.1002, allocations: 35.91 kB / 491.9 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.1004, allocations: 67.86 kB / 491.9 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.1005, allocations: 55.83 kB / 492 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.094e-05/0.1006, allocations: 16.16 kB / 492 MB, free: 9.457 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.739e-05/0.1007, allocations: 27.84 kB / 492 MB, free: 9.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.596e-05/0.1008, allocations: 23.92 kB / 492 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1008, allocations: 0 / 492 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.506e-05/0.1009, allocations: 23.98 kB / 492.1 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/0.1009, allocations: 23.91 kB / 492.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.1009, allocations: 37.64 kB / 492.1 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.101, allocations: 55.91 kB / 492.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.101, allocations: 0 / 492.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1011, allocations: 0 / 492.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1011, allocations: 4 kB / 492.2 MB, free: 9.258 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.000408/0.1015, allocations: 383.2 kB / 492.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.1015, allocations: 12.02 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.1016, allocations: 15.86 kB / 492.6 MB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.1017, allocations: 182.9 kB / 492.8 MB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1018, allocations: 8 kB / 492.8 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.1018, allocations: 0 / 492.8 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.1019, allocations: 61.66 kB / 492.8 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.102, allocations: 0 / 492.8 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.102, allocations: 4 kB / 492.8 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.102, allocations: 0 / 492.8 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.1021, allocations: 43.92 kB / 492.9 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.1024, allocations: 296.8 kB / 493.2 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.1026, allocations: 46.56 kB / 493.2 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/0.1026, allocations: 28.97 kB / 493.2 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.1027, allocations: 0 / 493.2 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.1027, allocations: 30.56 kB / 493.3 MB, free: 8.004 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1027, allocations: 0 / 493.3 MB, free: 8.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005997/0.1033, allocations: 201.3 kB / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.1033, allocations: 51.41 kB / 493.5 MB, free: 7.738 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.1035, allocations: 161.5 kB / 493.7 MB, free: 7.574 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1035, allocations: 25.7 kB / 493.7 MB, free: 7.543 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.1035, allocations: 92.14 kB / 493.8 MB, free: 7.449 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.1036, allocations: 31.55 kB / 493.8 MB, free: 7.418 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.1036, allocations: 4 kB / 493.8 MB, free: 7.414 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1037, allocations: 322.8 kB / 494.1 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.873e-05/0.1038, allocations: 31.92 kB / 494.2 MB, free: 7.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.944e-05/0.1039, allocations: 27.92 kB / 494.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.265e-05/0.104, allocations: 35.98 kB / 494.2 MB, free: 6.996 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.104, allocations: 0 / 494.2 MB, free: 6.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002019/0.1042, allocations: 101.5 kB / 494.3 MB, free: 6.891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1042, allocations: 7.938 kB / 494.3 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1042, allocations: 4 kB / 494.3 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.1042, allocations: 3.984 kB / 494.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.515e-05/0.1043, allocations: 20 kB / 494.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1043, allocations: 0 / 494.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.1044, allocations: 11.98 kB / 494.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1044, allocations: 4 kB / 494.4 MB, free: 6.84 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.565e-05/0.1045, allocations: 117.8 kB / 494.5 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.1045, allocations: 11.86 kB / 494.5 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.1048, allocations: 135 kB / 494.6 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1048, allocations: 0 / 494.6 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1048, allocations: 0 / 494.6 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1048, allocations: 3.984 kB / 494.7 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.1053, allocations: 394.5 kB / 495 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1053, allocations: 3.984 kB / 495 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.012e-05/0.1054, allocations: 20 kB / 495.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1054, allocations: 0 / 495.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.1054, allocations: 4 kB / 495.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1054, allocations: 3.984 kB / 495.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1054, allocations: 4 kB / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.1057, allocations: 195.4 kB / 495.3 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.1057, allocations: 92.95 kB / 495.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1057, allocations: 4 kB / 495.4 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.1058, allocations: 8 kB / 495.4 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.1058, allocations: 11.97 kB / 495.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-06/0.1058, allocations: 4 kB / 495.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.509e-05/0.1059, allocations: 123.2 kB / 495.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1059, allocations: 0 / 495.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002129/0.1062, allocations: 16 kB / 495.5 MB, free: 5.605 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.0007505/0.1069, allocations: 402.5 kB / 495.9 MB, free: 5.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.1071, allocations: 79.88 kB / 496 MB, free: 5.172 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1072, allocations: 0 / 496 MB, free: 5.172 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.544e-05/0.1072, allocations: 35.98 kB / 496 MB, free: 5.137 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.1075, allocations: 15.98 kB / 496 MB, free: 5.121 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.1079, allocations: 246.7 kB / 496.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.1082, allocations: 0.6965 MB / 497 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.1083, allocations: 15.44 kB / 497 MB, free: 4.109 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1083, allocations: 0 / 497 MB, free: 4.109 MB / 378.7 MB Notification: Performance of Templates: time 0.002823/0.1111, allocations: 1.517 MB / 498.5 MB, free: 2.594 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches