Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,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.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000794/0.0007941, allocations: 94.55 kB / 18 MB, free: 5.602 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.0008952/0.0008953, allocations: 177.6 kB / 18.91 MB, free: 4.738 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.355/1.355, allocations: 223.3 MB / 243 MB, free: 14.29 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.1917/0.1917, allocations: 44.23 MB / 338.3 MB, free: 2.391 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003047, allocations: 14.03 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1037, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002402/0.1062, allocations: 1.274 MB / 474.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1077, allocations: 0.9843 MB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.993e-05/0.1078, allocations: 0 / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.108, allocations: 19.91 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.1082, allocations: 31.92 kB / 475.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.1084, allocations: 87.28 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.1086, allocations: 55.78 kB / 475.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.1087, allocations: 8 kB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.593e-05/0.1087, allocations: 19.91 kB / 475.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.1089, allocations: 23.86 kB / 475.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.1089, allocations: 0 / 475.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.109, allocations: 55.91 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.125e-05/0.1091, allocations: 15.92 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.1091, allocations: 37.58 kB / 475.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.1093, allocations: 67.89 kB / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1093, allocations: 0 / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1093, allocations: 0 / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.666e-06/0.1093, allocations: 0 / 475.6 MB, free: 10.6 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.000446/0.1098, allocations: 379.5 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.1098, allocations: 8.031 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.1098, allocations: 4.938 kB / 476 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.11, allocations: 192.2 kB / 476.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1101, allocations: 4.312 kB / 476.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.1101, allocations: 384 / 476.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1102, allocations: 71.52 kB / 476.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.1103, allocations: 0 / 476.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1103, allocations: 0 / 476.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1103, allocations: 3.938 kB / 476.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.1104, allocations: 27.98 kB / 476.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.1107, allocations: 280.8 kB / 476.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.1109, allocations: 38.56 kB / 476.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.111, allocations: 24.94 kB / 476.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.111, allocations: 4 kB / 476.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.111, allocations: 30.56 kB / 476.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1111, allocations: 0 / 476.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005509/0.1116, allocations: 149.4 kB / 476.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.1117, allocations: 81.11 kB / 476.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.1118, allocations: 133.8 kB / 477 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.1118, allocations: 25.7 kB / 477 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.1119, allocations: 92.14 kB / 477.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.1119, allocations: 27.62 kB / 477.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.1119, allocations: 17.72 kB / 477.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1121, allocations: 314.8 kB / 477.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.409e-05/0.1121, allocations: 23.98 kB / 477.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.898e-05/0.1122, allocations: 45.62 kB / 477.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.1124, allocations: 53.03 kB / 477.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1124, allocations: 0 / 477.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002049/0.1126, allocations: 89.69 kB / 477.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1126, allocations: 7.938 kB / 477.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1126, allocations: 0 / 477.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1126, allocations: 4 kB / 477.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.1127, allocations: 8 kB / 477.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1127, allocations: 11.92 kB / 477.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.1128, allocations: 4 kB / 477.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1128, allocations: 4 kB / 477.7 MB, free: 8.242 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 8.854e-05/0.1129, allocations: 118.3 kB / 477.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.1129, allocations: 11.91 kB / 477.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.1132, allocations: 93.62 kB / 477.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1132, allocations: 0 / 477.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1132, allocations: 4 kB / 477.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1132, allocations: 3.984 kB / 477.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.1136, allocations: 354.4 kB / 478.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1136, allocations: 0 / 478.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.855e-05/0.1137, allocations: 15.98 kB / 478.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1137, allocations: 4 kB / 478.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1137, allocations: 4 kB / 478.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1138, allocations: 3.938 kB / 478.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1138, allocations: 0 / 478.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.114, allocations: 183.7 kB / 478.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.1141, allocations: 88.94 kB / 478.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.1141, allocations: 8 kB / 478.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.414e-05/0.1142, allocations: 16.2 kB / 478.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.1142, allocations: 0 / 478.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1142, allocations: 4 kB / 478.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.506e-05/0.1143, allocations: 101.4 kB / 478.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1143, allocations: 0 / 478.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1146, allocations: 27.98 kB / 478.7 MB, free: 7.117 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.001002/0.1156, allocations: 447.7 kB / 479.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.1158, allocations: 55.97 kB / 479.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1158, allocations: 0 / 479.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.588e-05/0.1159, allocations: 31.92 kB / 479.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.1162, allocations: 15.98 kB / 479.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.1166, allocations: 202.3 kB / 479.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.1169, allocations: 0.6848 MB / 480.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.1169, allocations: 15.42 kB / 480.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1169, allocations: 0 / 480.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of Templates: time 0.003292/0.1202, allocations: 1.542 MB / 481.7 MB, free: 4.25 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches