Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001384/0.001384, allocations: 194 kB / 18.77 MB, free: 4.742 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.323/1.323, allocations: 222.9 MB / 242.4 MB, free: 15.49 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.211/0.211, allocations: 44.17 MB / 336.8 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 68.2 kB / 408.3 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1091, allocations: 60.82 MB / 469.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.00316/0.1123, allocations: 1.672 MB / 470.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007862/0.1131, allocations: 419.2 kB / 471.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.461e-05/0.1132, allocations: 4 kB / 471.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.1135, allocations: 27.89 kB / 471.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.1136, allocations: 35.84 kB / 471.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.1139, allocations: 79.86 kB / 471.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.1141, allocations: 71.81 kB / 471.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1142, allocations: 27.98 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.339e-05/0.1143, allocations: 27.86 kB / 471.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.857e-05/0.1144, allocations: 31.84 kB / 471.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1144, allocations: 0 / 471.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1145, allocations: 43.98 kB / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.472e-05/0.1146, allocations: 19.92 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.1146, allocations: 39.72 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.1148, allocations: 72.12 kB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1148, allocations: 0 / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1148, allocations: 0 / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1148, allocations: 0 / 471.7 MB, free: 12.3 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005374/0.1154, allocations: 395.2 kB / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1154, allocations: 8.031 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.1155, allocations: 12.83 kB / 472.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.1157, allocations: 196.1 kB / 472.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1157, allocations: 8.375 kB / 472.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.1157, allocations: 12.3 kB / 472.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1159, allocations: 73.73 kB / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1159, allocations: 0 / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.116, allocations: 4 kB / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.116, allocations: 0 / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.1161, allocations: 43.91 kB / 472.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.1165, allocations: 316.7 kB / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.1167, allocations: 62.5 kB / 472.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.816e-05/0.1167, allocations: 24.84 kB / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.1168, allocations: 0 / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1168, allocations: 30.56 kB / 472.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.1168, allocations: 4 kB / 472.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001081/0.1179, allocations: 297.7 kB / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.118, allocations: 55.34 kB / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1181, allocations: 156.3 kB / 473.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1181, allocations: 29.7 kB / 473.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.1182, allocations: 108 kB / 473.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.1183, allocations: 43.39 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.1183, allocations: 21.72 kB / 473.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1184, allocations: 326.8 kB / 473.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.441e-05/0.1185, allocations: 39.97 kB / 473.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.326e-05/0.1186, allocations: 35.98 kB / 474 MB, free: 9.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.1188, allocations: 87.58 kB / 474.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1188, allocations: 0 / 474.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002547/0.1191, allocations: 133.5 kB / 474.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1191, allocations: 4 kB / 474.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1191, allocations: 0 / 474.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1191, allocations: 7.938 kB / 474.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1193, allocations: 39.91 kB / 474.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1193, allocations: 0 / 474.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.167e-05/0.1193, allocations: 4 kB / 474.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1194, allocations: 8 kB / 474.3 MB, free: 9.551 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 (13): * Single equations (assignments): 13 * 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.0001523/0.1195, allocations: 117.8 kB / 474.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.1196, allocations: 11.91 kB / 474.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.1199, allocations: 162.4 kB / 474.5 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1199, allocations: 3.984 kB / 474.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1199, allocations: 0 / 474.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1199, allocations: 0 / 474.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/0.1205, allocations: 467 kB / 475 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1205, allocations: 4.031 kB / 475 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.186e-05/0.1206, allocations: 35.92 kB / 475 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1207, allocations: 0 / 475 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1207, allocations: 7.984 kB / 475.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.1207, allocations: 3.938 kB / 475.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1207, allocations: 0 / 475.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.121, allocations: 243.5 kB / 475.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.1211, allocations: 85.02 kB / 475.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.1211, allocations: 0 / 475.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.1212, allocations: 11.98 kB / 475.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.1212, allocations: 7.984 kB / 475.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.1212, allocations: 4 kB / 475.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.149e-05/0.1213, allocations: 123.2 kB / 475.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.1213, allocations: 0 / 475.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1216, allocations: 27.84 kB / 475.5 MB, free: 8.148 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 (13): * Single equations (assignments): 13 * 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.001036/0.1227, allocations: 465 kB / 476 MB, free: 7.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.1229, allocations: 103.6 kB / 476.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1229, allocations: 0 / 476.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.1231, allocations: 55.91 kB / 476.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.1234, allocations: 19.64 kB / 476.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005007/0.1239, allocations: 306.4 kB / 476.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.1242, allocations: 0.7043 MB / 477.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.1243, allocations: 19.44 kB / 477.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1243, allocations: 0 / 477.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of Templates: time 0.004179/0.1285, allocations: 1.838 MB / 479 MB, free: 4.785 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches