Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 95.34 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.001372/0.001372, allocations: 177.9 kB / 16.57 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.441/1.441, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3318/0.3318, allocations: 43.54 MB / 314.5 MB, free: 8.773 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.0004858/0.0004861, allocations: 26.95 kB / 383.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1174, allocations: 58.85 MB / 442.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.00197/0.1194, allocations: 1.31 MB / 444.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1209, allocations: 0.8713 MB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/0.121, allocations: 0 / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.1213, allocations: 23.91 kB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.1215, allocations: 35.84 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.122, allocations: 147.6 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.1221, allocations: 39.95 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1222, allocations: 19.97 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.461e-05/0.1223, allocations: 19.86 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.1224, allocations: 19.92 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.1224, allocations: 4 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1225, allocations: 43.84 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.1226, allocations: 7.984 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.1226, allocations: 37.64 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.1228, allocations: 76.09 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1228, allocations: 4 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1228, allocations: 0 / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1228, allocations: 0 / 445.4 MB, free: 10.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004735/0.1233, allocations: 387 kB / 445.8 MB, free: 9.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.1233, allocations: 15.95 kB / 445.8 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.1234, allocations: 11.86 kB / 445.8 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.1236, allocations: 190.9 kB / 446 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1236, allocations: 8 kB / 446 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.1236, allocations: 7.938 kB / 446 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1238, allocations: 75.38 kB / 446.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1238, allocations: 0 / 446.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1238, allocations: 4 kB / 446.1 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1238, allocations: 0 / 446.1 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.124, allocations: 51.92 kB / 446.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.1245, allocations: 316.7 kB / 446.4 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.1246, allocations: 50.56 kB / 446.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1246, allocations: 0 / 446.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1247, allocations: 34.56 kB / 446.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1247, allocations: 0 / 446.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007552/0.1254, allocations: 261.2 kB / 446.8 MB, free: 8.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.1255, allocations: 77.11 kB / 446.9 MB, free: 8.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1256, allocations: 142 kB / 447 MB, free: 8.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1256, allocations: 25.7 kB / 447 MB, free: 8.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.1257, allocations: 96.08 kB / 447.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.1257, allocations: 31.61 kB / 447.2 MB, free: 8.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.1257, allocations: 0 / 447.2 MB, free: 8.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.1258, allocations: 318.8 kB / 447.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.126, allocations: 47.95 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.1261, allocations: 65.62 kB / 447.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.1262, allocations: 43.97 kB / 447.6 MB, free: 7.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1262, allocations: 32 / 447.6 MB, free: 7.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002746/0.1265, allocations: 138 kB / 447.8 MB, free: 7.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1265, allocations: 11.95 kB / 447.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1265, allocations: 4 kB / 447.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.1265, allocations: 0 / 447.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1267, allocations: 23.98 kB / 447.8 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.1267, allocations: 0 / 447.8 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.026e-05/0.1267, allocations: 23.89 kB / 447.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1268, allocations: 7.984 kB / 447.8 MB, free: 7.754 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 (7): * Single equations (assignments): 7 * 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.541e-05/0.1269, allocations: 125.7 kB / 447.9 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.1269, allocations: 7.906 kB / 448 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.1272, allocations: 162.5 kB / 448.1 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1272, allocations: 0 / 448.1 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1272, allocations: 0 / 448.1 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1273, allocations: 3.984 kB / 448.1 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000515/0.1278, allocations: 430.5 kB / 448.5 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1278, allocations: 3.938 kB / 448.5 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.735e-05/0.1279, allocations: 27.94 kB / 448.6 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1279, allocations: 0 / 448.6 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.1279, allocations: 4 kB / 448.6 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1279, allocations: 4 kB / 448.6 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1279, allocations: 0 / 448.6 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.1282, allocations: 239.3 kB / 448.8 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.1283, allocations: 85 kB / 448.9 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.1283, allocations: 7.953 kB / 448.9 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.105e-05/0.1284, allocations: 15.98 kB / 448.9 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.1285, allocations: 7.984 kB / 448.9 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.1285, allocations: 0 / 448.9 MB, free: 6.551 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.703e-05/0.1286, allocations: 110.9 kB / 449 MB, free: 6.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1286, allocations: 4 kB / 449 MB, free: 6.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1288, allocations: 27.98 kB / 449.1 MB, free: 6.414 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 (7): * Single equations (assignments): 7 * 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.0008559/0.1297, allocations: 433.5 kB / 449.5 MB, free: 6.016 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.13, allocations: 107.9 kB / 449.6 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.13, allocations: 0 / 449.6 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.1302, allocations: 63.94 kB / 449.7 MB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.1304, allocations: 12 kB / 449.7 MB, free: 5.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.1307, allocations: 209.1 kB / 449.9 MB, free: 5.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.131, allocations: 0.7051 MB / 450.6 MB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.783e-05/0.1311, allocations: 28.94 kB / 450.6 MB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.1311, allocations: 15.38 kB / 450.6 MB, free: 4.832 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1311, allocations: 4 kB / 450.6 MB, free: 4.828 MB / 382.1 MB Notification: Performance of Templates: time 0.003638/0.1348, allocations: 1.458 MB / 452.1 MB, free: 3.367 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches