Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001275/0.001275, allocations: 187 kB / 19.34 MB, free: 3.641 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.306/1.306, allocations: 222.9 MB / 243 MB, free: 15.15 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.182/0.182, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 59.41 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1031, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002896/0.1061, allocations: 1.571 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007009/0.1068, allocations: 423.1 kB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.1069, allocations: 4 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.1071, allocations: 83.75 kB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.1073, allocations: 75.72 kB / 472.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.1076, allocations: 111.5 kB / 473 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.1078, allocations: 75.81 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.318e-05/0.1079, allocations: 28.09 kB / 473.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.701e-05/0.1079, allocations: 27.92 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.503e-05/0.108, allocations: 51.81 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.108, allocations: 4 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.839e-05/0.1081, allocations: 47.98 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.1082, allocations: 19.92 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.1082, allocations: 35.73 kB / 473.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.1084, allocations: 103.6 kB / 473.4 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1084, allocations: 0 / 473.4 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1084, allocations: 0 / 473.4 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1084, allocations: 0 / 473.4 MB, free: 11 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.000443/0.1089, allocations: 417.8 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1089, allocations: 12.03 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.1089, allocations: 12.84 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.1091, allocations: 202.6 kB / 474 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1092, allocations: 384 / 474 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.1092, allocations: 4.375 kB / 474 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1093, allocations: 61.55 kB / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1093, allocations: 0 / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1094, allocations: 0 / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1094, allocations: 4 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.491e-05/0.1095, allocations: 31.91 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.1098, allocations: 304.7 kB / 474.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.807e-05/0.1099, allocations: 50.48 kB / 474.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.629e-05/0.11, allocations: 20.94 kB / 474.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.11, allocations: 0 / 474.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.1101, allocations: 34.56 kB / 474.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1101, allocations: 4 kB / 474.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007798/0.1108, allocations: 233 kB / 474.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.1109, allocations: 51.41 kB / 474.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.1111, allocations: 238.6 kB / 475 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.1111, allocations: 25.7 kB / 475 MB, free: 9.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.1112, allocations: 112.1 kB / 475.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.1112, allocations: 19.66 kB / 475.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.1112, allocations: 25.7 kB / 475.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.973e-05/0.1113, allocations: 322.8 kB / 475.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.1114, allocations: 31.92 kB / 475.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/0.1115, allocations: 32.05 kB / 475.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.1116, allocations: 81.03 kB / 475.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1117, allocations: 0 / 475.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001846/0.1118, allocations: 109.5 kB / 475.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1119, allocations: 8 kB / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1119, allocations: 0 / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1119, allocations: 0 / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.714e-05/0.112, allocations: 19.92 kB / 475.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.112, allocations: 7.938 kB / 475.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.112, allocations: 15.92 kB / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1121, allocations: 4 kB / 475.8 MB, free: 8.324 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 8.369e-05/0.1121, allocations: 125.8 kB / 475.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.1122, allocations: 11.81 kB / 475.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.1124, allocations: 127 kB / 476.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1125, allocations: 3.938 kB / 476.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1125, allocations: 11.94 kB / 476.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1125, allocations: 3.984 kB / 476.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.113, allocations: 411.3 kB / 476.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.113, allocations: 0 / 476.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.221e-05/0.113, allocations: 19.92 kB / 476.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.113, allocations: 0 / 476.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1131, allocations: 8 kB / 476.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1131, allocations: 4.031 kB / 476.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1131, allocations: 0 / 476.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.1133, allocations: 220.1 kB / 476.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.1134, allocations: 88.95 kB / 476.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.1134, allocations: 7.938 kB / 476.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.595e-05/0.1135, allocations: 11.98 kB / 476.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.1135, allocations: 4 kB / 476.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.1135, allocations: 8 kB / 476.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.1137, allocations: 173 kB / 477 MB, free: 7.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1137, allocations: 0 / 477 MB, free: 7.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.1139, allocations: 20 kB / 477 MB, free: 6.984 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.0009333/0.1148, allocations: 461.4 kB / 477.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.1151, allocations: 79.88 kB / 477.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1151, allocations: 0 / 477.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.416e-05/0.1152, allocations: 40.03 kB / 477.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.1155, allocations: 23.94 kB / 477.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.1159, allocations: 263.2 kB / 477.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.1162, allocations: 0.7118 MB / 478.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.468e-05/0.1162, allocations: 20.66 kB / 478.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.1163, allocations: 11.44 kB / 478.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1163, allocations: 0 / 478.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of Templates: time 0.1151/0.2314, allocations: 1.38 MB / 480 MB, free: 4.145 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches