Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001135/0.001135, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.34/1.34, allocations: 222.9 MB / 243 MB, free: 15.16 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.2071/0.2071, allocations: 44.18 MB / 337.4 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.11 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1067, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002917/0.1096, allocations: 1.579 MB / 472.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007444/0.1104, allocations: 419.2 kB / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/0.1104, allocations: 0 / 472.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.1108, allocations: 67.78 kB / 472.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.111, allocations: 63.8 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.1112, allocations: 111.4 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.1114, allocations: 75.81 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.1115, allocations: 20.17 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.152e-05/0.1116, allocations: 35.78 kB / 473.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.99e-05/0.1117, allocations: 43.89 kB / 473.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1117, allocations: 7.938 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.33e-05/0.1118, allocations: 43.98 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.076e-05/0.1118, allocations: 15.92 kB / 473.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.1119, allocations: 39.73 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1121, allocations: 87.72 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1121, allocations: 0 / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1121, allocations: 0 / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1121, allocations: 4 kB / 473.3 MB, free: 11.07 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.0004631/0.1126, allocations: 403 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1126, allocations: 8.031 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.1126, allocations: 8.844 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.1128, allocations: 197.7 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.71e-06/0.1129, allocations: 4.375 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.1129, allocations: 12.36 kB / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.113, allocations: 53.61 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1131, allocations: 0 / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.1131, allocations: 4 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1131, allocations: 0 / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.1132, allocations: 39.84 kB / 474 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.1136, allocations: 300.7 kB / 474.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.976e-05/0.1137, allocations: 42.56 kB / 474.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.1138, allocations: 16.94 kB / 474.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.1138, allocations: 7.938 kB / 474.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.1138, allocations: 30.56 kB / 474.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1138, allocations: 0 / 474.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000848/0.1147, allocations: 233 kB / 474.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.1147, allocations: 55.41 kB / 474.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.115, allocations: 201.8 kB / 474.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.115, allocations: 25.7 kB / 474.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.1151, allocations: 100.1 kB / 475 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.1151, allocations: 27.64 kB / 475 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.1151, allocations: 17.72 kB / 475 MB, free: 9.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1153, allocations: 322.8 kB / 475.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.523e-05/0.1154, allocations: 31.97 kB / 475.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-05/0.1155, allocations: 31.98 kB / 475.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.1156, allocations: 84.81 kB / 475.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1156, allocations: 0 / 475.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002785/0.1159, allocations: 105.5 kB / 475.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.116, allocations: 8 kB / 475.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.116, allocations: 320 / 475.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.116, allocations: 0 / 475.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1161, allocations: 19.98 kB / 475.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.1161, allocations: 7.875 kB / 475.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.933e-05/0.1162, allocations: 8 kB / 475.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1162, allocations: 7.984 kB / 475.7 MB, free: 8.48 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.873e-05/0.1163, allocations: 125.8 kB / 475.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.1163, allocations: 11.91 kB / 475.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.1166, allocations: 130.3 kB / 475.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1166, allocations: 0 / 475.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.1166, allocations: 11.88 kB / 475.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1167, allocations: 4 kB / 475.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.1172, allocations: 411.2 kB / 476.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1172, allocations: 0 / 476.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.846e-05/0.1173, allocations: 23.92 kB / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1173, allocations: 4.359 kB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1174, allocations: 0 / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.1174, allocations: 4 kB / 476.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1174, allocations: 4.031 kB / 476.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.1177, allocations: 212.2 kB / 476.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.1177, allocations: 88.94 kB / 476.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1177, allocations: 4 kB / 476.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.1178, allocations: 11.98 kB / 476.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.1179, allocations: 4 kB / 476.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1179, allocations: 4 kB / 476.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.118, allocations: 147.2 kB / 476.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.604e-06/0.118, allocations: 0 / 476.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1183, allocations: 23.94 kB / 476.9 MB, free: 7.168 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.001109/0.1194, allocations: 462.7 kB / 477.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.1196, allocations: 67.95 kB / 477.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1196, allocations: 0 / 477.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.424e-05/0.1197, allocations: 51.83 kB / 477.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.1201, allocations: 20.23 kB / 477.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.1206, allocations: 254.8 kB / 477.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.1209, allocations: 0.7041 MB / 478.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.222e-05/0.121, allocations: 16.66 kB / 478.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.121, allocations: 19.42 kB / 478.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of SimCode: time 1.563e-06/0.121, allocations: 4 kB / 478.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of Templates: time 0.004279/0.1253, allocations: 1.341 MB / 479.8 MB, free: 4.371 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches