Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 110 kB / 17.86 MB, free: 5.504 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.001573/0.001573, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.315/1.315, allocations: 222.9 MB / 242.5 MB, free: 15.49 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.1984/0.1984, allocations: 44.17 MB / 336.8 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 57.84 kB / 408.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1097, allocations: 60.82 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002855/0.1126, allocations: 1.622 MB / 470.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.114, allocations: 0.9959 MB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.489e-05/0.1141, allocations: 4 kB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.1143, allocations: 19.92 kB / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.1145, allocations: 35.91 kB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.1147, allocations: 67.86 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.1148, allocations: 47.84 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.297e-05/0.1149, allocations: 23.97 kB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.15e-05/0.115, allocations: 19.88 kB / 472 MB, free: 12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.1151, allocations: 23.91 kB / 472 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.1151, allocations: 4 kB / 472 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.594e-05/0.1152, allocations: 47.91 kB / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.417e-05/0.1153, allocations: 11.94 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.1153, allocations: 19.86 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.1155, allocations: 63.91 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1155, allocations: 7.938 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1155, allocations: 4 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1155, allocations: 0 / 472.2 MB, free: 11.82 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.0004388/0.116, allocations: 375.6 kB / 472.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.116, allocations: 8.031 kB / 472.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.116, allocations: 8.844 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.1162, allocations: 190.8 kB / 472.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-06/0.1162, allocations: 384 / 472.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1163, allocations: 8.312 kB / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1164, allocations: 63.53 kB / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.1165, allocations: 0 / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1165, allocations: 4 kB / 472.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1165, allocations: 0 / 472.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.158e-05/0.1166, allocations: 23.97 kB / 472.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003191/0.1169, allocations: 268.9 kB / 473.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.1171, allocations: 50.47 kB / 473.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.1172, allocations: 16.86 kB / 473.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.1172, allocations: 0 / 473.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.1172, allocations: 34.56 kB / 473.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1172, allocations: 0 / 473.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005137/0.1178, allocations: 137.4 kB / 473.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.1178, allocations: 85.09 kB / 473.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1179, allocations: 133.8 kB / 473.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.118, allocations: 29.7 kB / 473.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.118, allocations: 96.11 kB / 473.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.118, allocations: 15.75 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.1181, allocations: 25.64 kB / 473.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1182, allocations: 322.8 kB / 474 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.423e-05/0.1183, allocations: 15.98 kB / 474.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.319e-05/0.1184, allocations: 37.64 kB / 474.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1185, allocations: 49.02 kB / 474.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1185, allocations: 4.031 kB / 474.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001675/0.1187, allocations: 77.58 kB / 474.2 MB, free: 9.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1187, allocations: 6.656 kB / 474.2 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1187, allocations: 0 / 474.2 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1187, allocations: 0 / 474.2 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.1188, allocations: 15.98 kB / 474.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1188, allocations: 0 / 474.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.306e-05/0.1188, allocations: 7.984 kB / 474.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1189, allocations: 3.938 kB / 474.3 MB, free: 9.512 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 7.647e-05/0.1189, allocations: 122.3 kB / 474.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.119, allocations: 7.906 kB / 474.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.1192, allocations: 89.62 kB / 474.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1192, allocations: 0 / 474.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1192, allocations: 0 / 474.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1192, allocations: 0 / 474.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.1196, allocations: 350.4 kB / 474.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1196, allocations: 0 / 474.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/0.1197, allocations: 8 kB / 474.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1197, allocations: 0 / 474.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1197, allocations: 7.984 kB / 474.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1197, allocations: 3.938 kB / 474.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1197, allocations: 4 kB / 474.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.1199, allocations: 183.6 kB / 475 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.12, allocations: 77.11 kB / 475.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.12, allocations: 0 / 475.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.804e-05/0.1201, allocations: 11.92 kB / 475.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.1201, allocations: 7.938 kB / 475.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.1201, allocations: 0 / 475.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.551e-05/0.1202, allocations: 107.8 kB / 475.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1202, allocations: 0 / 475.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1205, allocations: 27.91 kB / 475.2 MB, free: 8.418 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.0009722/0.1215, allocations: 458.8 kB / 475.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.1217, allocations: 47.97 kB / 475.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1217, allocations: 0 / 475.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.668e-05/0.1218, allocations: 27.92 kB / 475.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.1222, allocations: 17.98 kB / 475.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.1225, allocations: 200.9 kB / 476 MB, free: 7.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.1228, allocations: 0.6887 MB / 476.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.1228, allocations: 15.44 kB / 476.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1228, allocations: 0 / 476.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of Templates: time 0.003024/0.1259, allocations: 1.544 MB / 478.2 MB, free: 5.547 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches