Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,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.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.001567, 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.001798/0.001799, 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.404/1.404, 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.2299/0.2299, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 64.98 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1143, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002996/0.1173, allocations: 1.555 MB / 471.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1188, allocations: 1.027 MB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.1189, allocations: 0 / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.1191, allocations: 19.86 kB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.1193, allocations: 51.7 kB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.1196, allocations: 111.7 kB / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.1198, allocations: 55.89 kB / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1199, allocations: 11.98 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.319e-05/0.1199, allocations: 15.94 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1201, allocations: 35.84 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.1201, allocations: 3.938 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.1202, allocations: 51.97 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.656e-05/0.1203, allocations: 7.938 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.1203, allocations: 27.84 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.1205, allocations: 79.8 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1205, allocations: 3.984 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1205, allocations: 0 / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1206, allocations: 0 / 473 MB, free: 11.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006382/0.1212, allocations: 371.6 kB / 473.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.1213, allocations: 12.03 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.531e-05/0.1213, allocations: 4.844 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.1216, allocations: 196.1 kB / 473.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1216, allocations: 12.38 kB / 473.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.1217, allocations: 384 / 473.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.1219, allocations: 63.52 kB / 473.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1219, allocations: 0 / 473.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1219, allocations: 7.938 kB / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1219, allocations: 4 kB / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.122, allocations: 19.98 kB / 473.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.1225, allocations: 284.8 kB / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.1227, allocations: 46.55 kB / 474 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.1228, allocations: 16.86 kB / 474 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1228, allocations: 0 / 474 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.1229, allocations: 38.64 kB / 474 MB, free: 10.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.1229, allocations: 0 / 474 MB, free: 10.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006397/0.1235, allocations: 153.2 kB / 474.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.1236, allocations: 77.11 kB / 474.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1237, allocations: 140.1 kB / 474.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.1238, allocations: 25.7 kB / 474.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.1238, allocations: 96.12 kB / 474.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.1239, allocations: 15.75 kB / 474.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.1239, allocations: 17.72 kB / 474.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.124, allocations: 322.8 kB / 474.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.515e-05/0.1241, allocations: 23.92 kB / 474.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.577e-05/0.1242, allocations: 33.7 kB / 474.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.1243, allocations: 65.03 kB / 475 MB, free: 9.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1243, allocations: 0 / 475 MB, free: 9.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001825/0.1245, allocations: 77.58 kB / 475.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1246, allocations: 8 kB / 475.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1246, allocations: 0 / 475.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1246, allocations: 0 / 475.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.613e-05/0.1247, allocations: 15.92 kB / 475.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1247, allocations: 0 / 475.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.165e-05/0.1247, allocations: 12 kB / 475.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1247, allocations: 7.984 kB / 475.1 MB, free: 8.938 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 9.411e-05/0.1248, allocations: 117.8 kB / 475.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.1249, allocations: 3.906 kB / 475.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.1251, allocations: 97.61 kB / 475.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1251, allocations: 0 / 475.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1251, allocations: 4 kB / 475.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1252, allocations: 3.984 kB / 475.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.1256, allocations: 358.4 kB / 475.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1256, allocations: 0 / 475.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.519e-05/0.1257, allocations: 12 kB / 475.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1257, allocations: 0 / 475.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1257, allocations: 0 / 475.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.1257, allocations: 7.922 kB / 475.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1257, allocations: 4 kB / 475.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.1259, allocations: 183.6 kB / 475.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.126, allocations: 81.38 kB / 476 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.126, allocations: 4 kB / 476 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.685e-05/0.1261, allocations: 7.938 kB / 476 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.1261, allocations: 11.97 kB / 476 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.1261, allocations: 4 kB / 476 MB, free: 7.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.767e-05/0.1262, allocations: 103.3 kB / 476.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1262, allocations: 0 / 476.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1265, allocations: 27.91 kB / 476.1 MB, free: 7.82 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.001008/0.1275, allocations: 442.4 kB / 476.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.1278, allocations: 59.89 kB / 476.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1278, allocations: 0 / 476.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.962e-05/0.1279, allocations: 23.98 kB / 476.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.1282, allocations: 15.98 kB / 476.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.1286, allocations: 191.2 kB / 476.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.1289, allocations: 0.6924 MB / 477.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.99e-05/0.1289, allocations: 15.42 kB / 477.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1289, allocations: 0 / 477.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of Templates: time 0.003329/0.1323, allocations: 1.608 MB / 479.1 MB, free: 4.906 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches