Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001191/0.001191, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.457/1.457, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.235/0.235, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 64.92 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1118, allocations: 60.82 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002903/0.1148, allocations: 1.556 MB / 471.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.1162, allocations: 1.016 MB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.893e-05/0.1163, allocations: 0 / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.1165, allocations: 19.86 kB / 472.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.1167, allocations: 47.77 kB / 472.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.117, allocations: 83.22 kB / 472.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.1171, allocations: 55.84 kB / 472.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1172, allocations: 23.97 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.447e-05/0.1173, allocations: 19.92 kB / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.1174, allocations: 23.86 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.1174, allocations: 4 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1176, allocations: 55.91 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.1176, allocations: 11.94 kB / 472.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.1176, allocations: 19.86 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.1178, allocations: 87.77 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1178, allocations: 0 / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1178, allocations: 4 kB / 472.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1178, allocations: 4 kB / 472.9 MB, free: 11.33 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004577/0.1183, allocations: 371.6 kB / 473.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.1183, allocations: 8.031 kB / 473.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.1184, allocations: 8.844 kB / 473.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.1186, allocations: 180.2 kB / 473.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-06/0.1186, allocations: 4.375 kB / 473.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.1186, allocations: 4.359 kB / 473.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1188, allocations: 75.45 kB / 473.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1188, allocations: 0 / 473.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1188, allocations: 4 kB / 473.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1188, allocations: 0 / 473.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.96e-05/0.1189, allocations: 23.92 kB / 473.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.1193, allocations: 272.9 kB / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.1195, allocations: 46.5 kB / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.1195, allocations: 20.94 kB / 473.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.1196, allocations: 0 / 473.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.1196, allocations: 34.56 kB / 474 MB, free: 10.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1196, allocations: 0 / 474 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005484/0.1201, allocations: 141.3 kB / 474.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.1202, allocations: 77.11 kB / 474.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.1203, allocations: 141.8 kB / 474.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.1204, allocations: 29.64 kB / 474.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.1204, allocations: 92.14 kB / 474.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.1204, allocations: 19.73 kB / 474.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.1205, allocations: 13.72 kB / 474.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1206, allocations: 330.8 kB / 474.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.338e-05/0.1207, allocations: 15.98 kB / 474.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.45e-05/0.1208, allocations: 33.64 kB / 474.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.1209, allocations: 49.02 kB / 474.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1209, allocations: 0 / 474.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00019/0.1211, allocations: 85.61 kB / 475 MB, free: 9.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1212, allocations: 6.656 kB / 475 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1212, allocations: 0 / 475 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1212, allocations: 0 / 475 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.129e-05/0.1213, allocations: 15.98 kB / 475 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.1213, allocations: 0 / 475 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.289e-05/0.1213, allocations: 4 kB / 475 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.1213, allocations: 0 / 475 MB, free: 9.023 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 (5): * Single equations (assignments): 5 * 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 7.837e-05/0.1214, allocations: 125.7 kB / 475.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.1215, allocations: 7.906 kB / 475.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.1217, allocations: 93.61 kB / 475.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.1217, allocations: 3.984 kB / 475.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1217, allocations: 0 / 475.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1217, allocations: 0 / 475.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.1221, allocations: 346.5 kB / 475.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.1222, allocations: 0 / 475.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/0.1222, allocations: 15.92 kB / 475.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1222, allocations: 0 / 475.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.1222, allocations: 0 / 475.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1223, allocations: 3.938 kB / 475.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1223, allocations: 4.188 kB / 475.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.1225, allocations: 187.4 kB / 475.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.1225, allocations: 81.11 kB / 475.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1226, allocations: 0 / 475.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.299e-05/0.1226, allocations: 7.938 kB / 475.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.1227, allocations: 8.266 kB / 475.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1227, allocations: 0 / 475.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.784e-05/0.1228, allocations: 103.3 kB / 476 MB, free: 7.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1228, allocations: 0 / 476 MB, free: 7.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.123, allocations: 19.91 kB / 476 MB, free: 7.93 MB / 350.1 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 (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.0009905/0.124, allocations: 462.8 kB / 476.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.1243, allocations: 51.97 kB / 476.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1243, allocations: 3.938 kB / 476.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.607e-05/0.1244, allocations: 23.98 kB / 476.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.1247, allocations: 11.98 kB / 476.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/0.1251, allocations: 179.2 kB / 476.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.1253, allocations: 0.692 MB / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.1254, allocations: 15.42 kB / 477.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1254, allocations: 0 / 477.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of Templates: time 0.003355/0.1288, allocations: 1.561 MB / 479 MB, free: 5.062 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches