Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001006, allocations: 92.72 kB / 17.35 MB, free: 6.375 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.001569/0.001569, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.416/1.416, allocations: 223.3 MB / 242.3 MB, free: 14.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.2227/0.2227, allocations: 44.25 MB / 337.7 MB, free: 2.445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.0003131, allocations: 16 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1081, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002041/0.1102, allocations: 1.588 MB / 473.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1117, allocations: 0.9591 MB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.1117, allocations: 7.938 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004363/0.1122, allocations: 207.6 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.1125, allocations: 159.5 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.1129, allocations: 158.6 kB / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.1132, allocations: 231.3 kB / 475.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1133, allocations: 29.67 kB / 475.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1134, allocations: 103.5 kB / 475.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.1136, allocations: 147.5 kB / 475.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.1136, allocations: 4 kB / 475.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1138, allocations: 59.97 kB / 475.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.122e-05/0.1138, allocations: 51.83 kB / 475.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.646e-05/0.1139, allocations: 113 kB / 476.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.1142, allocations: 227.3 kB / 476.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1142, allocations: 4 kB / 476.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1142, allocations: 4 kB / 476.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1142, allocations: 0 / 476.3 MB, free: 9.289 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006069/0.1148, allocations: 0.506 MB / 476.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1149, allocations: 12.03 kB / 476.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.1149, allocations: 24.66 kB / 476.8 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.1152, allocations: 280.1 kB / 477.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1152, allocations: 4.375 kB / 477.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.1153, allocations: 20.02 kB / 477.1 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.1155, allocations: 110 kB / 477.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1155, allocations: 3.984 kB / 477.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1155, allocations: 3.938 kB / 477.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1155, allocations: 4 kB / 477.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.1157, allocations: 47.91 kB / 477.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005057/0.1162, allocations: 472.8 kB / 477.8 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/0.1165, allocations: 129.2 kB / 477.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.1166, allocations: 37.83 kB / 477.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1167, allocations: 8 kB / 477.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.1169, allocations: 121 kB / 478 MB, free: 7.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.1169, allocations: 0 / 478 MB, free: 7.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001189/0.1181, allocations: 0.4891 MB / 478.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.1182, allocations: 85.05 kB / 478.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000417/0.1186, allocations: 428.5 kB / 479 MB, free: 6.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1186, allocations: 29.7 kB / 479.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.1188, allocations: 156.5 kB / 479.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.1188, allocations: 71.02 kB / 479.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.1189, allocations: 25.72 kB / 479.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.119, allocations: 346.8 kB / 479.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.1191, allocations: 59.97 kB / 479.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1193, allocations: 91.34 kB / 479.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.1196, allocations: 155.3 kB / 479.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1196, allocations: 4 kB / 480 MB, free: 5.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003856/0.12, allocations: 229.4 kB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.12, allocations: 14.44 kB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.12, allocations: 4 kB / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.12, allocations: 4 kB / 480.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1202, allocations: 47.91 kB / 480.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.1202, allocations: 4 kB / 480.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.275e-05/0.1203, allocations: 11.94 kB / 480.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.1203, allocations: 12.06 kB / 480.3 MB, free: 5.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001455/0.1205, allocations: 166.3 kB / 480.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.1205, allocations: 39.5 kB / 480.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.655e-05/0.1206, allocations: 38.62 kB / 480.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.1206, allocations: 7.938 kB / 480.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1206, allocations: 0 / 480.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.1206, allocations: 3.984 kB / 480.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008436/0.1215, allocations: 0.7272 MB / 481.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1215, allocations: 0 / 481.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.88e-05/0.1216, allocations: 27.98 kB / 481.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1216, allocations: 4 kB / 481.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.1216, allocations: 12.12 kB / 481.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1216, allocations: 3.938 kB / 481.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1216, allocations: 7.984 kB / 481.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.1221, allocations: 417.7 kB / 481.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.174e-05/0.1222, allocations: 112.7 kB / 481.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.1222, allocations: 8 kB / 481.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.1224, allocations: 7.984 kB / 481.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.1224, allocations: 19.92 kB / 481.9 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.1224, allocations: 11.98 kB / 481.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002797/0.1227, allocations: 319 kB / 482.2 MB, free: 2.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1227, allocations: 4 kB / 482.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003433/0.1231, allocations: 51.98 kB / 482.2 MB, free: 2.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001222/0.1243, allocations: 0.5119 MB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.1246, allocations: 159.8 kB / 482.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1247, allocations: 0 / 482.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.1248, allocations: 84.22 kB / 483 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005765/0.1254, allocations: 60.98 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008139/0.1262, allocations: 0.6131 MB / 483.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.1266, allocations: 0.7755 MB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.1267, allocations: 37.92 kB / 484.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.1268, allocations: 31.42 kB / 484.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1268, allocations: 0 / 484.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of Templates: time 0.005882/0.1326, allocations: 2.934 MB / 487.4 MB, free: 13.89 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches