Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 108.4 kB / 17.98 MB, free: 5.355 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.00188/0.00188, allocations: 193.3 kB / 18.9 MB, free: 4.438 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.319/1.319, allocations: 222.9 MB / 242.6 MB, free: 15.45 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.2025/0.2025, allocations: 44.18 MB / 336.9 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 71.45 kB / 408.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.09998, allocations: 60.82 MB / 469.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002953/0.103, allocations: 1.784 MB / 471.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.1042, allocations: 0.8615 MB / 472 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.1043, allocations: 7.938 kB / 472 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.1046, allocations: 87.81 kB / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.1048, allocations: 67.78 kB / 472.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.1051, allocations: 99.77 kB / 472.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.1053, allocations: 115.7 kB / 472.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.43e-05/0.1054, allocations: 11.98 kB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.35e-05/0.1055, allocations: 55.78 kB / 472.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1056, allocations: 67.75 kB / 472.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.1056, allocations: 4 kB / 472.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1057, allocations: 63.91 kB / 472.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.1058, allocations: 31.91 kB / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.1059, allocations: 39.69 kB / 472.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.106, allocations: 104 kB / 472.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.106, allocations: 0 / 472.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.073e-06/0.106, allocations: 0 / 472.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.106, allocations: 0 / 472.8 MB, free: 11.36 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004926/0.1065, allocations: 438.9 kB / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.1066, allocations: 8.031 kB / 473.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.1066, allocations: 16.75 kB / 473.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.1068, allocations: 212.5 kB / 473.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1069, allocations: 384 / 473.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.1069, allocations: 12.12 kB / 473.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.107, allocations: 57.67 kB / 473.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1071, allocations: 3.906 kB / 473.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1071, allocations: 4 kB / 473.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1071, allocations: 3.984 kB / 473.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.716e-05/0.1072, allocations: 19.98 kB / 473.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.1075, allocations: 308.7 kB / 473.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.1077, allocations: 62.55 kB / 473.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.677e-05/0.1078, allocations: 20.98 kB / 473.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.1078, allocations: 4 kB / 473.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.108, allocations: 79.25 kB / 474 MB, free: 9.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.108, allocations: 0 / 474 MB, free: 9.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006951/0.1087, allocations: 233.2 kB / 474.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.1088, allocations: 55.34 kB / 474.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.109, allocations: 226.7 kB / 474.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.109, allocations: 29.7 kB / 474.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.1091, allocations: 120 kB / 474.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.1091, allocations: 35.55 kB / 474.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.1092, allocations: 25.72 kB / 474.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1093, allocations: 322.8 kB / 475 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.739e-05/0.1093, allocations: 31.98 kB / 475 MB, free: 8.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-05/0.1094, allocations: 49.69 kB / 475.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.1096, allocations: 77.66 kB / 475.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1096, allocations: 0 / 475.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002237/0.1098, allocations: 129.4 kB / 475.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1098, allocations: 4 kB / 475.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1098, allocations: 4 kB / 475.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.1099, allocations: 0 / 475.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.1099, allocations: 19.98 kB / 475.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.11, allocations: 7.969 kB / 475.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.11, allocations: 8 kB / 475.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.11, allocations: 4.703 kB / 475.3 MB, free: 8.535 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.447e-05/0.1101, allocations: 137.8 kB / 475.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.1102, allocations: 15.81 kB / 475.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.1102, allocations: 21.33 kB / 475.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1102, allocations: 8 kB / 475.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1102, allocations: 3.938 kB / 475.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1102, allocations: 4 kB / 475.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.1107, allocations: 448.1 kB / 476 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1107, allocations: 4 kB / 476 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/0.1108, allocations: 15.94 kB / 476 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1108, allocations: 0 / 476 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1108, allocations: 4 kB / 476 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1108, allocations: 7.984 kB / 476 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1108, allocations: 4 kB / 476 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.1111, allocations: 232.9 kB / 476.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.1111, allocations: 85.02 kB / 476.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.1112, allocations: 7.984 kB / 476.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.1112, allocations: 8 kB / 476.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.1113, allocations: 11.98 kB / 476.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.1113, allocations: 4 kB / 476.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1114, allocations: 168.3 kB / 476.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1114, allocations: 0 / 476.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1117, allocations: 39.89 kB / 476.6 MB, free: 7.219 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001082/0.1128, allocations: 0.5017 MB / 477.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.113, allocations: 91.78 kB / 477.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.113, allocations: 0 / 477.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.183e-05/0.1131, allocations: 39.92 kB / 477.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.1134, allocations: 35.78 kB / 477.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.1139, allocations: 338.7 kB / 477.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.1142, allocations: 0.7232 MB / 478.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.1143, allocations: 19.42 kB / 478.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1143, allocations: 4 kB / 478.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of Templates: time 0.003759/0.1181, allocations: 2.197 MB / 480.5 MB, free: 3.422 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches