Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,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.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,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.CombiTable1Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 112.2 kB / 17.33 MB, free: 6.02 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.001122/0.001122, allocations: 197.3 kB / 18.25 MB, free: 5.113 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.375/1.375, allocations: 222.9 MB / 241.9 MB, free: 15.41 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.2204/0.2204, allocations: 44.19 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001338, allocations: 62.38 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1116, allocations: 60.82 MB / 468.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002975/0.1146, allocations: 1.641 MB / 470.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008065/0.1154, allocations: 415.3 kB / 470.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.1155, allocations: 0 / 470.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.1158, allocations: 119.8 kB / 470.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.1161, allocations: 75.83 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.1164, allocations: 102.4 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.1166, allocations: 91.8 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1167, allocations: 16.19 kB / 471.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.437e-05/0.1168, allocations: 47.81 kB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.1169, allocations: 79.84 kB / 471.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.1169, allocations: 7.938 kB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1171, allocations: 47.92 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.1171, allocations: 31.84 kB / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.1172, allocations: 35.69 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.1174, allocations: 116 kB / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1174, allocations: 0 / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1174, allocations: 0 / 471.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1174, allocations: 3.938 kB / 471.5 MB, free: 11.91 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.0004946/0.1179, allocations: 422.8 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1179, allocations: 8.031 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.118, allocations: 16.84 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.1182, allocations: 203.9 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1182, allocations: 8.375 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.1182, allocations: 8.312 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1184, allocations: 61.59 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1184, allocations: 4 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1184, allocations: 0 / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1184, allocations: 0 / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.562e-05/0.1185, allocations: 23.98 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.1189, allocations: 316.7 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.1191, allocations: 50.48 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.1191, allocations: 12.86 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1191, allocations: 0 / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1192, allocations: 38.64 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1192, allocations: 0 / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009199/0.1201, allocations: 241.1 kB / 472.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.1202, allocations: 51.41 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.1204, allocations: 274.2 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.1204, allocations: 33.64 kB / 473.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.1205, allocations: 120 kB / 473.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.1205, allocations: 27.64 kB / 473.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.1206, allocations: 21.72 kB / 473.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1207, allocations: 322.8 kB / 473.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.704e-05/0.1208, allocations: 31.97 kB / 473.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.511e-05/0.1209, allocations: 27.98 kB / 473.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.121, allocations: 80.81 kB / 473.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1211, allocations: 0 / 473.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002286/0.1213, allocations: 109.5 kB / 474 MB, free: 9.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1213, allocations: 4 kB / 474 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1213, allocations: 0 / 474 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1213, allocations: 0 / 474 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1215, allocations: 23.92 kB / 474 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1215, allocations: 7.875 kB / 474 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.1215, allocations: 15.98 kB / 474 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1215, allocations: 432 / 474 MB, free: 9.176 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 0.0001057/0.1216, allocations: 134.4 kB / 474.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.1217, allocations: 15.81 kB / 474.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.122, allocations: 135.3 kB / 474.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.122, allocations: 7.969 kB / 474.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.122, allocations: 3.938 kB / 474.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.122, allocations: 4 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.1226, allocations: 423.3 kB / 474.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1226, allocations: 4 kB / 474.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.312e-05/0.1227, allocations: 19.92 kB / 474.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1227, allocations: 0 / 474.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1227, allocations: 4 kB / 474.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1227, allocations: 4.031 kB / 474.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1227, allocations: 0 / 474.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.123, allocations: 212.1 kB / 475 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.123, allocations: 92.86 kB / 475.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1231, allocations: 11.98 kB / 475.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.1231, allocations: 0 / 475.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.1232, allocations: 15.98 kB / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.1232, allocations: 7.938 kB / 475.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001592/0.1234, allocations: 199.2 kB / 475.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1234, allocations: 0 / 475.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1236, allocations: 24 kB / 475.3 MB, free: 7.777 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.0009945/0.1246, allocations: 450.7 kB / 475.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.1249, allocations: 75.89 kB / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1249, allocations: 0 / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.125, allocations: 47.84 kB / 475.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.1254, allocations: 31.86 kB / 475.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.126, allocations: 343.3 kB / 476.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.1263, allocations: 0.7158 MB / 477 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.842e-05/0.1264, allocations: 20.95 kB / 477 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.1265, allocations: 15.44 kB / 477 MB, free: 6.215 MB / 350.1 MB Notification: Performance of SimCode: time 2.364e-06/0.1265, allocations: 4 kB / 477 MB, free: 6.211 MB / 350.1 MB Notification: Performance of Templates: time 0.003985/0.1305, allocations: 1.362 MB / 478.4 MB, free: 4.859 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches