Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008907/0.0008909, allocations: 95.17 kB / 18 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009452/0.0009453, allocations: 176.6 kB / 18.91 MB, free: 4.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.3 MB / 243 MB, free: 14.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1951/0.1951, allocations: 44.24 MB / 338.3 MB, free: 2.391 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003192, allocations: 8 kB / 411 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1082, allocations: 61.92 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002003/0.1103, allocations: 1.294 MB / 474.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007881/0.1111, allocations: 395.4 kB / 474.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.063e-05/0.1112, allocations: 0 / 474.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.1115, allocations: 75.83 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.1117, allocations: 47.81 kB / 474.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.112, allocations: 83.78 kB / 474.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.1122, allocations: 63.89 kB / 474.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1123, allocations: 20.17 kB / 474.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.653e-05/0.1124, allocations: 31.78 kB / 474.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.1125, allocations: 39.89 kB / 474.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.1125, allocations: 4 kB / 474.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.1126, allocations: 39.98 kB / 475 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.399e-05/0.1127, allocations: 11.94 kB / 475 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.1127, allocations: 57.42 kB / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.1129, allocations: 72.19 kB / 475.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1129, allocations: 0 / 475.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1129, allocations: 3.938 kB / 475.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1129, allocations: 4 kB / 475.1 MB, free: 11.04 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004871/0.1134, allocations: 379.2 kB / 475.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.1135, allocations: 11.97 kB / 475.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.1135, allocations: 16.78 kB / 475.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.1138, allocations: 196.1 kB / 475.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.1138, allocations: 4.375 kB / 475.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1138, allocations: 8.375 kB / 475.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.114, allocations: 57.61 kB / 475.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.114, allocations: 0 / 475.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.114, allocations: 4 kB / 475.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.114, allocations: 0 / 475.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.991e-05/0.1141, allocations: 27.98 kB / 475.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.1145, allocations: 296.7 kB / 476.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.1146, allocations: 42.56 kB / 476.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.1147, allocations: 20.94 kB / 476.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1147, allocations: 0 / 476.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.1147, allocations: 38.5 kB / 476.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1148, allocations: 0 / 476.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009229/0.1157, allocations: 257.1 kB / 476.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.1157, allocations: 51.41 kB / 476.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.1159, allocations: 204.4 kB / 476.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.1159, allocations: 25.7 kB / 476.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.116, allocations: 96.14 kB / 476.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.116, allocations: 31.55 kB / 476.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.1161, allocations: 13.72 kB / 476.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1162, allocations: 322.8 kB / 477.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.194e-05/0.1163, allocations: 31.98 kB / 477.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.634e-05/0.1163, allocations: 23.98 kB / 477.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.1165, allocations: 68.83 kB / 477.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1165, allocations: 0 / 477.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002111/0.1167, allocations: 117.9 kB / 477.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1168, allocations: 8 kB / 477.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1168, allocations: 0 / 477.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1168, allocations: 0 / 477.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1169, allocations: 23.92 kB / 477.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1169, allocations: 3.938 kB / 477.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.117, allocations: 8 kB / 477.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.117, allocations: 8 kB / 477.5 MB, free: 8.473 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.198e-05/0.1171, allocations: 122.4 kB / 477.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.1171, allocations: 11.89 kB / 477.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.1174, allocations: 130.3 kB / 477.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1174, allocations: 3.938 kB / 477.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1174, allocations: 3.938 kB / 477.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1174, allocations: 4 kB / 477.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005012/0.1179, allocations: 415.6 kB / 478.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.118, allocations: 0 / 478.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.082e-05/0.118, allocations: 19.94 kB / 478.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.118, allocations: 0 / 478.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.1181, allocations: 4 kB / 478.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1181, allocations: 7.984 kB / 478.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1181, allocations: 0 / 478.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.1183, allocations: 208.3 kB / 478.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.1184, allocations: 92.94 kB / 478.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1184, allocations: 4 kB / 478.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.1185, allocations: 4 kB / 478.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.1185, allocations: 11.98 kB / 478.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-06/0.1185, allocations: 0 / 478.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.1187, allocations: 154.9 kB / 478.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1187, allocations: 0 / 478.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1189, allocations: 24 kB / 478.7 MB, free: 7.168 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001034/0.12, allocations: 460.6 kB / 479.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002275/0.1202, allocations: 67.95 kB / 479.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.1202, allocations: 4 kB / 479.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.678e-05/0.1203, allocations: 43.92 kB / 479.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.1207, allocations: 19.92 kB / 479.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.1211, allocations: 291.6 kB / 479.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.1214, allocations: 0.7043 MB / 480.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.1214, allocations: 11.44 kB / 480.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1215, allocations: 0 / 480.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of Templates: time 0.003575/0.125, allocations: 1.659 MB / 481.9 MB, free: 4.043 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches