Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.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.CombiTable1Ds.Test23,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.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009089/0.0009089, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001199, allocations: 175.4 kB / 16.56 MB, free: 6.379 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.319/1.319, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2963/0.2963, allocations: 43.55 MB / 314.5 MB, free: 9.02 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.0004776/0.0004778, allocations: 12 kB / 383.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1175, allocations: 58.87 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002286/0.1199, allocations: 1.253 MB / 444 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1213, allocations: 0.8712 MB / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.481e-05/0.1214, allocations: 0 / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.1216, allocations: 15.92 kB / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.1219, allocations: 35.84 kB / 444.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1222, allocations: 59.84 kB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.1223, allocations: 35.97 kB / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1224, allocations: 11.97 kB / 445 MB, free: 11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.379e-05/0.1225, allocations: 15.94 kB / 445 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.1227, allocations: 27.84 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1227, allocations: 0 / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.1228, allocations: 31.92 kB / 445.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.445e-05/0.1229, allocations: 19.92 kB / 445.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.1229, allocations: 25.7 kB / 445.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.1231, allocations: 68.12 kB / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1231, allocations: 4 kB / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1231, allocations: 0 / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1231, allocations: 0 / 445.2 MB, free: 10.8 MB / 382.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.0005856/0.1237, allocations: 371.1 kB / 445.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1237, allocations: 16.02 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.1238, allocations: 7.859 kB / 445.6 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.124, allocations: 190.9 kB / 445.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1241, allocations: 0 / 445.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.1241, allocations: 8 kB / 445.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.1242, allocations: 59.41 kB / 445.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1243, allocations: 3.906 kB / 445.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1243, allocations: 4 kB / 445.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1243, allocations: 0 / 445.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.781e-05/0.1244, allocations: 35.91 kB / 445.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.1248, allocations: 268.9 kB / 446.2 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.125, allocations: 42.56 kB / 446.2 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.125, allocations: 8.062 kB / 446.2 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.125, allocations: 30.56 kB / 446.2 MB, free: 9.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1251, allocations: 4 kB / 446.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000558/0.1256, allocations: 161.3 kB / 446.4 MB, free: 9.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.1257, allocations: 77.11 kB / 446.5 MB, free: 9.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.1258, allocations: 129.8 kB / 446.6 MB, free: 9.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.1258, allocations: 25.7 kB / 446.6 MB, free: 9.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.1259, allocations: 99.92 kB / 446.7 MB, free: 9.078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.1259, allocations: 23.73 kB / 446.8 MB, free: 9.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.1259, allocations: 0 / 446.8 MB, free: 9.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1261, allocations: 318.8 kB / 447.1 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.097e-05/0.1261, allocations: 27.98 kB / 447.1 MB, free: 8.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.082e-05/0.1262, allocations: 33.7 kB / 447.1 MB, free: 8.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.68e-05/0.1263, allocations: 28.17 kB / 447.2 MB, free: 8.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1263, allocations: 0 / 447.2 MB, free: 8.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001761/0.1265, allocations: 85.61 kB / 447.2 MB, free: 8.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1265, allocations: 4 kB / 447.2 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1265, allocations: 3.953 kB / 447.2 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1265, allocations: 3.984 kB / 447.2 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.1266, allocations: 12 kB / 447.3 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1266, allocations: 7.938 kB / 447.3 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.1267, allocations: 11.98 kB / 447.3 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1267, allocations: 4 kB / 447.3 MB, free: 8.504 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.001e-05/0.1268, allocations: 109.8 kB / 447.4 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.1268, allocations: 8 kB / 447.4 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.1271, allocations: 97.53 kB / 447.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1271, allocations: 7.953 kB / 447.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1271, allocations: 0 / 447.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1271, allocations: 0 / 447.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004341/0.1275, allocations: 350.5 kB / 447.8 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1276, allocations: 0 / 447.8 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.1276, allocations: 19.98 kB / 447.9 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1276, allocations: 3.953 kB / 447.9 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1276, allocations: 0 / 447.9 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1276, allocations: 0 / 447.9 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1277, allocations: 4 kB / 447.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.1279, allocations: 183.7 kB / 448.1 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.872e-05/0.128, allocations: 89 kB / 448.1 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.128, allocations: 3.953 kB / 448.1 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.1281, allocations: 4 kB / 448.1 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.1281, allocations: 11.98 kB / 448.2 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.1281, allocations: 4 kB / 448.2 MB, free: 7.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.388e-05/0.1282, allocations: 103.3 kB / 448.3 MB, free: 7.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.883e-06/0.1282, allocations: 0 / 448.3 MB, free: 7.422 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1285, allocations: 31.92 kB / 448.3 MB, free: 7.391 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001299/0.1298, allocations: 439 kB / 448.7 MB, free: 6.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.13, allocations: 51.97 kB / 448.8 MB, free: 6.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.13, allocations: 4 kB / 448.8 MB, free: 6.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.763e-05/0.1301, allocations: 27.92 kB / 448.8 MB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.1304, allocations: 12 kB / 448.8 MB, free: 6.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.1308, allocations: 168.8 kB / 449 MB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.1311, allocations: 0.6926 MB / 449.7 MB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.024e-05/0.1311, allocations: 11.98 kB / 449.7 MB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.1312, allocations: 15.44 kB / 449.7 MB, free: 5.953 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1312, allocations: 0 / 449.7 MB, free: 5.953 MB / 382.1 MB Notification: Performance of Templates: time 0.003611/0.1348, allocations: 1.271 MB / 451 MB, free: 4.68 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches