Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, 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.001883/0.001883, 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.409/1.409, 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.2183/0.2183, allocations: 44.17 MB / 336.8 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001285, allocations: 65 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09683/0.09813, allocations: 60.82 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002857/0.101, allocations: 1.633 MB / 470.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007292/0.1018, allocations: 419.2 kB / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.1018, allocations: 4 kB / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.1021, allocations: 111.7 kB / 471.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.1023, allocations: 67.84 kB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.1026, allocations: 91.83 kB / 471.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.1027, allocations: 79.8 kB / 471.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.287e-05/0.1028, allocations: 20.17 kB / 471.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.417e-05/0.1029, allocations: 39.84 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.565e-05/0.103, allocations: 63.81 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.103, allocations: 0 / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.315e-05/0.1031, allocations: 39.97 kB / 471.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.668e-05/0.1031, allocations: 27.91 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.1032, allocations: 31.75 kB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.1033, allocations: 80.11 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1033, allocations: 0 / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1033, allocations: 7.938 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1033, allocations: 0 / 471.9 MB, free: 12.14 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004483/0.1038, allocations: 422.9 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1038, allocations: 8.031 kB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.1039, allocations: 20.75 kB / 472.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.1041, allocations: 204.6 kB / 472.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.1041, allocations: 4.375 kB / 472.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.1041, allocations: 4.375 kB / 472.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1043, allocations: 65.53 kB / 472.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1043, allocations: 4 kB / 472.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1043, allocations: 0 / 472.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1043, allocations: 4 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1044, allocations: 19.98 kB / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.1048, allocations: 308.7 kB / 472.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.1049, allocations: 46.5 kB / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.105, allocations: 20.94 kB / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.105, allocations: 0 / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.105, allocations: 34.56 kB / 473 MB, free: 10.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.105, allocations: 0 / 473 MB, free: 10.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008669/0.1059, allocations: 245 kB / 473.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.106, allocations: 55.41 kB / 473.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.1062, allocations: 246.5 kB / 473.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.1062, allocations: 25.7 kB / 473.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.1063, allocations: 104.1 kB / 473.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.1063, allocations: 31.55 kB / 473.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.1063, allocations: 25.72 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1065, allocations: 326.8 kB / 474 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.753e-05/0.1066, allocations: 27.97 kB / 474.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.529e-05/0.1066, allocations: 31.92 kB / 474.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.1068, allocations: 76.75 kB / 474.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1068, allocations: 0 / 474.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002152/0.107, allocations: 113.6 kB / 474.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1071, allocations: 4 kB / 474.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1071, allocations: 4 kB / 474.3 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.1071, allocations: 0 / 474.3 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.316e-05/0.1072, allocations: 15.98 kB / 474.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.1072, allocations: 3.938 kB / 474.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.086e-05/0.1073, allocations: 7.938 kB / 474.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.1073, allocations: 4 kB / 474.3 MB, free: 9.445 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 (8): * Single equations (assignments): 8 * 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.021e-05/0.1074, allocations: 133.8 kB / 474.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.1074, allocations: 15.81 kB / 474.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.1077, allocations: 135.3 kB / 474.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1077, allocations: 432 / 474.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1077, allocations: 3.938 kB / 474.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1077, allocations: 0 / 474.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.1083, allocations: 431.2 kB / 475 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1083, allocations: 0 / 475 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.186e-05/0.1083, allocations: 27.84 kB / 475.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1084, allocations: 0 / 475.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1084, allocations: 4 kB / 475.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1084, allocations: 0 / 475.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1084, allocations: 0 / 475.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.1086, allocations: 208.3 kB / 475.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.1087, allocations: 96.84 kB / 475.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.1087, allocations: 8 kB / 475.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-05/0.1088, allocations: 0 / 475.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.1088, allocations: 15.86 kB / 475.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1089, allocations: 8 kB / 475.4 MB, free: 8.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.109, allocations: 192.3 kB / 475.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.109, allocations: 0 / 475.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.1093, allocations: 20 kB / 475.6 MB, free: 8.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009873/0.1103, allocations: 454.5 kB / 476 MB, free: 7.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.1105, allocations: 71.95 kB / 476.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1105, allocations: 0 / 476.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.745e-05/0.1106, allocations: 43.91 kB / 476.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.111, allocations: 17.77 kB / 476.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.1115, allocations: 354.6 kB / 476.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.1118, allocations: 0.7238 MB / 477.2 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.1118, allocations: 15.44 kB / 477.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1118, allocations: 0 / 477.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of Templates: time 0.003147/0.115, allocations: 1.828 MB / 479.1 MB, free: 4.699 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches