Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.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 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 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 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.CombiTable1D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30") translateModel(ModelicaTest.Tables.CombiTable1D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001606, allocations: 105 kB / 16.64 MB, free: 6.82 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.002106/0.002106, allocations: 194.5 kB / 17.56 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2219/0.2219, allocations: 43.52 MB / 314.3 MB, free: 0.7031 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 73.81 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1162, allocations: 57.79 MB / 440.7 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test30): time 0.003165/0.1194, allocations: 1.612 MB / 442.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006363/0.1201, allocations: 324.1 kB / 442.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.948e-05/0.1202, allocations: 0 / 442.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.1205, allocations: 71.84 kB / 442.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.1208, allocations: 63.73 kB / 442.7 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.1211, allocations: 87.39 kB / 442.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.1213, allocations: 67.83 kB / 442.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1214, allocations: 7.938 kB / 442.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.881e-05/0.1215, allocations: 39.89 kB / 442.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1216, allocations: 51.83 kB / 443 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1216, allocations: 4 kB / 443 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.486e-05/0.1217, allocations: 31.98 kB / 443 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.1218, allocations: 19.86 kB / 443 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.1218, allocations: 27.75 kB / 443.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.122, allocations: 71.89 kB / 443.1 MB, free: 4.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.122, allocations: 0 / 443.1 MB, free: 4.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.122, allocations: 0 / 443.1 MB, free: 4.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.122, allocations: 0 / 443.1 MB, free: 4.891 MB / 318.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.0004678/0.1225, allocations: 399 kB / 443.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1226, allocations: 11.89 kB / 443.5 MB, free: 4.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/0.1226, allocations: 8.844 kB / 443.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.1228, allocations: 197 kB / 443.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1228, allocations: 384 / 443.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.1228, allocations: 4.375 kB / 443.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.123, allocations: 53.75 kB / 443.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.123, allocations: 0 / 443.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.123, allocations: 4 kB / 443.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.123, allocations: 0 / 443.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.737e-05/0.1231, allocations: 27.97 kB / 443.8 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.1234, allocations: 284.9 kB / 444.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.1237, allocations: 50.48 kB / 444.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.1237, allocations: 20.86 kB / 444.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.1237, allocations: 3.938 kB / 444.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.1238, allocations: 34.56 kB / 444.2 MB, free: 3.652 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1238, allocations: 3.938 kB / 444.2 MB, free: 3.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005306/0.1243, allocations: 161.2 kB / 444.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.1243, allocations: 59.41 kB / 444.4 MB, free: 3.414 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.1245, allocations: 202.2 kB / 444.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.1245, allocations: 25.7 kB / 444.6 MB, free: 3.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.1245, allocations: 104.1 kB / 444.7 MB, free: 3.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.1246, allocations: 19.66 kB / 444.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.1246, allocations: 21.7 kB / 444.8 MB, free: 3.023 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.1247, allocations: 318.8 kB / 445.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.709e-05/0.1247, allocations: 27.97 kB / 445.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.457e-05/0.1248, allocations: 24.17 kB / 445.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1249, allocations: 56.77 kB / 445.2 MB, free: 2.594 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1249, allocations: 0 / 445.2 MB, free: 2.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001743/0.1251, allocations: 89.56 kB / 445.3 MB, free: 2.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1251, allocations: 4 kB / 445.3 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1251, allocations: 0 / 445.3 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1252, allocations: 4 kB / 445.3 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.827e-05/0.1252, allocations: 12 kB / 445.3 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1252, allocations: 0 / 445.3 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.74e-05/0.1253, allocations: 7.984 kB / 445.3 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1253, allocations: 0 / 445.3 MB, free: 2.473 MB / 318.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 6.59e-05/0.1254, allocations: 133.7 kB / 445.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.1254, allocations: 15.91 kB / 445.5 MB, free: 2.316 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.1256, allocations: 101.9 kB / 445.6 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1256, allocations: 0 / 445.6 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1256, allocations: 0 / 445.6 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.1257, allocations: 3.984 kB / 445.6 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.126, allocations: 358.4 kB / 445.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.126, allocations: 0 / 445.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.1261, allocations: 12.19 kB / 445.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1261, allocations: 8 kB / 445.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1261, allocations: 0 / 445.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.1261, allocations: 3.938 kB / 445.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1261, allocations: 7.922 kB / 445.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.1263, allocations: 183.3 kB / 446.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.1263, allocations: 89 kB / 446.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.1264, allocations: 0 / 446.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.359e-05/0.1264, allocations: 11.94 kB / 446.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.1265, allocations: 3.984 kB / 446.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.1265, allocations: 8 kB / 446.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.313e-05/0.1266, allocations: 151.2 kB / 446.4 MB, free: 1.301 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1266, allocations: 0 / 446.4 MB, free: 1.301 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.1268, allocations: 23.92 kB / 446.4 MB, free: 1.277 MB / 318.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.0009061/0.1277, allocations: 388.3 kB / 446.8 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.1279, allocations: 55.97 kB / 446.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.128, allocations: 0 / 446.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.858e-05/0.128, allocations: 27.92 kB / 446.9 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.1284, allocations: 15.98 kB / 446.9 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.1289, allocations: 283.8 kB / 447.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1292, allocations: 0.7002 MB / 447.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.1292, allocations: 15.42 kB / 447.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1292, allocations: 3.938 kB / 447.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of Templates: time 0.003751/0.133, allocations: 1.51 MB / 449.4 MB, free: 14.3 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches