Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, 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.001118/0.001118, 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.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.2165/0.2165, allocations: 44.18 MB / 336.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 68.36 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1059, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003384/0.1093, allocations: 1.614 MB / 470.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.1111, allocations: 1.012 MB / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.439e-05/0.1111, allocations: 0 / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.1114, allocations: 15.92 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.1116, allocations: 39.84 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.1119, allocations: 91.83 kB / 471.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.1121, allocations: 59.83 kB / 472 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1122, allocations: 15.98 kB / 472 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.395e-05/0.1123, allocations: 15.88 kB / 472 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.1125, allocations: 30.97 kB / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.1125, allocations: 7.984 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.1127, allocations: 47.98 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.456e-05/0.1127, allocations: 11.94 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.1128, allocations: 19.86 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.113, allocations: 63.91 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.113, allocations: 0 / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.113, allocations: 0 / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.113, allocations: 4 kB / 472.2 MB, free: 11.78 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.0005618/0.1136, allocations: 381.9 kB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1136, allocations: 12.03 kB / 472.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.1137, allocations: 8.844 kB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.1139, allocations: 188.2 kB / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.1139, allocations: 384 / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.1139, allocations: 384 / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.1141, allocations: 71.52 kB / 472.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1141, allocations: 0 / 472.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1141, allocations: 0 / 472.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1142, allocations: 0 / 472.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1143, allocations: 27.92 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.1147, allocations: 276.9 kB / 473.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.1149, allocations: 42.55 kB / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.554e-05/0.115, allocations: 16.86 kB / 473.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.115, allocations: 7.938 kB / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.115, allocations: 34.56 kB / 473.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.115, allocations: 0 / 473.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005924/0.1156, allocations: 149.6 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.1157, allocations: 81.11 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1159, allocations: 141.8 kB / 473.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1159, allocations: 25.7 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.1159, allocations: 96.12 kB / 473.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.116, allocations: 15.75 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.116, allocations: 17.72 kB / 473.8 MB, free: 10 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1161, allocations: 326.7 kB / 474.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.709e-05/0.1162, allocations: 19.98 kB / 474.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.118e-05/0.1163, allocations: 37.7 kB / 474.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1165, allocations: 48.83 kB / 474.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1165, allocations: 192 / 474.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002016/0.1167, allocations: 97.5 kB / 474.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1167, allocations: 7.938 kB / 474.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1167, allocations: 48 / 474.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1167, allocations: 3.984 kB / 474.3 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/0.1168, allocations: 20.02 kB / 474.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1168, allocations: 0 / 474.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.421e-05/0.1169, allocations: 4 kB / 474.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1169, allocations: 0 / 474.3 MB, free: 9.422 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.568e-05/0.117, allocations: 122.3 kB / 474.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.117, allocations: 7.906 kB / 474.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.1173, allocations: 97.56 kB / 474.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1173, allocations: 0 / 474.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1173, allocations: 4 kB / 474.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1174, allocations: 0 / 474.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.1178, allocations: 346.5 kB / 474.9 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1178, allocations: 7.984 kB / 474.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/0.1179, allocations: 8 kB / 474.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1179, allocations: 3.938 kB / 474.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1179, allocations: 4 kB / 474.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1179, allocations: 3.938 kB / 474.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1179, allocations: 4 kB / 474.9 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.1182, allocations: 179.4 kB / 475.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.1182, allocations: 81.36 kB / 475.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.1182, allocations: 3.984 kB / 475.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.1183, allocations: 15.94 kB / 475.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.1184, allocations: 0 / 475.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.1184, allocations: 4 kB / 475.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.076e-05/0.1185, allocations: 103.2 kB / 475.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1185, allocations: 0 / 475.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1187, allocations: 23.91 kB / 475.3 MB, free: 8.316 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.001064/0.1198, allocations: 455.5 kB / 475.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.1201, allocations: 55.89 kB / 475.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1201, allocations: 0 / 475.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.439e-05/0.1202, allocations: 23.98 kB / 475.9 MB, free: 7.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1205, allocations: 21.33 kB / 475.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.121, allocations: 212.9 kB / 476.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.1213, allocations: 0.6887 MB / 476.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.213e-05/0.1213, allocations: 19.42 kB / 476.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1213, allocations: 0 / 476.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of Templates: time 0.003455/0.1248, allocations: 1.579 MB / 478.4 MB, free: 5.391 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches