Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 108.3 kB / 18.4 MB, free: 4.719 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.001171/0.001171, allocations: 191 kB / 19.34 MB, free: 3.789 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.41/1.41, allocations: 222.9 MB / 243 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.2116/0.2116, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 64.44 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1081, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003378/0.1115, allocations: 1.559 MB / 472.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.1131, allocations: 1.02 MB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.809e-05/0.1132, allocations: 4 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.1134, allocations: 19.86 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.1136, allocations: 39.78 kB / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.1139, allocations: 87.75 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.1141, allocations: 59.78 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1142, allocations: 19.98 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.27e-05/0.1143, allocations: 19.88 kB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.1144, allocations: 27.89 kB / 473.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1144, allocations: 0 / 473.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.1146, allocations: 47.98 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.1146, allocations: 11.92 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.1147, allocations: 23.86 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.1149, allocations: 87.72 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.115, allocations: 0 / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.115, allocations: 0 / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.115, allocations: 0 / 473.7 MB, free: 10.61 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.0004992/0.1155, allocations: 387.2 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.1155, allocations: 12.03 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.1156, allocations: 4.844 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.1158, allocations: 188.2 kB / 474.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1158, allocations: 4.375 kB / 474.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.1159, allocations: 384 / 474.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.1161, allocations: 71.45 kB / 474.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1161, allocations: 4 kB / 474.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1161, allocations: 0 / 474.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1161, allocations: 4 kB / 474.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.295e-05/0.1162, allocations: 19.98 kB / 474.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.1166, allocations: 272.9 kB / 474.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.1168, allocations: 46.48 kB / 474.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.1169, allocations: 20.94 kB / 474.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1169, allocations: 0 / 474.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.117, allocations: 34.56 kB / 474.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.117, allocations: 0 / 474.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005793/0.1176, allocations: 137.3 kB / 474.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.1176, allocations: 81.11 kB / 475 MB, free: 9.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1178, allocations: 137.2 kB / 475.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1178, allocations: 29.7 kB / 475.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.1178, allocations: 92.14 kB / 475.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.1179, allocations: 19.73 kB / 475.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.1179, allocations: 17.72 kB / 475.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.118, allocations: 318.8 kB / 475.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.1181, allocations: 19.98 kB / 475.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.754e-05/0.1182, allocations: 37.69 kB / 475.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.1183, allocations: 44.78 kB / 475.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1183, allocations: 3.938 kB / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001652/0.1185, allocations: 81.56 kB / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1185, allocations: 7.938 kB / 475.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1185, allocations: 4.031 kB / 475.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1186, allocations: 0 / 475.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.963e-05/0.1186, allocations: 12 kB / 475.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1186, allocations: 0 / 475.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.1187, allocations: 11.98 kB / 475.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.1187, allocations: 0 / 475.8 MB, free: 8.293 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.917e-05/0.1188, allocations: 121.7 kB / 475.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.1188, allocations: 7.906 kB / 475.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.119, allocations: 85.62 kB / 476 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.119, allocations: 4 kB / 476 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1191, allocations: 320 / 476 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1191, allocations: 3.984 kB / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.1195, allocations: 350.4 kB / 476.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.1195, allocations: 0 / 476.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.1196, allocations: 15.98 kB / 476.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1196, allocations: 4 kB / 476.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.1196, allocations: 0 / 476.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.1196, allocations: 3.938 kB / 476.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1196, allocations: 0 / 476.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.1198, allocations: 171.4 kB / 476.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.534e-05/0.1199, allocations: 85.09 kB / 476.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.1199, allocations: 0 / 476.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.879e-05/0.12, allocations: 11.94 kB / 476.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.12, allocations: 11.92 kB / 476.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.12, allocations: 4 kB / 476.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.029e-05/0.1201, allocations: 99.27 kB / 476.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1201, allocations: 0 / 476.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1204, allocations: 27.91 kB / 476.8 MB, free: 7.199 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.0009822/0.1213, allocations: 436.6 kB / 477.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.1216, allocations: 47.95 kB / 477.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1216, allocations: 0 / 477.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.149e-05/0.1217, allocations: 31.86 kB / 477.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.122, allocations: 18.81 kB / 477.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.1224, allocations: 157.5 kB / 477.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.1226, allocations: 0.6881 MB / 478.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.603e-05/0.1227, allocations: 15.97 kB / 478.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.1227, allocations: 11.44 kB / 478.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1227, allocations: 4 kB / 478.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of Templates: time 0.003804/0.1266, allocations: 1.356 MB / 479.5 MB, free: 4.57 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches