Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001258/0.001258, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.435/1.435, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2039/0.2039, allocations: 44.19 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001868, allocations: 69.2 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1095, allocations: 60.84 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003265/0.1128, allocations: 1.889 MB / 471.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1143, allocations: 0.9275 MB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.487e-05/0.1144, allocations: 3.938 kB / 472.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.1147, allocations: 47.7 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.1149, allocations: 47.7 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.1153, allocations: 135.6 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.1155, allocations: 135.6 kB / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.1157, allocations: 33.47 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.1158, allocations: 55.72 kB / 473.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.45e-05/0.1159, allocations: 43.72 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.1159, allocations: 8 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.116, allocations: 51.92 kB / 473.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.1161, allocations: 23.91 kB / 473.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.868e-05/0.1162, allocations: 47.67 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.1164, allocations: 155.7 kB / 473.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1164, allocations: 0 / 473.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1164, allocations: 0 / 473.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1164, allocations: 0 / 473.5 MB, free: 10.76 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006112/0.1171, allocations: 472.6 kB / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1171, allocations: 8.031 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.1172, allocations: 20.69 kB / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.1174, allocations: 227.9 kB / 474.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1174, allocations: 12.38 kB / 474.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.1175, allocations: 8.125 kB / 474.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.1177, allocations: 108.2 kB / 474.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1177, allocations: 0 / 474.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.1177, allocations: 4 kB / 474.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1177, allocations: 0 / 474.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.1179, allocations: 47.97 kB / 474.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005498/0.1185, allocations: 0.5087 MB / 474.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.1188, allocations: 90.59 kB / 475 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.762e-05/0.1189, allocations: 40.84 kB / 475.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1189, allocations: 3.938 kB / 475.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.1192, allocations: 83.36 kB / 475.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.1192, allocations: 0 / 475.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003995/0.1196, allocations: 145.4 kB / 475.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.1197, allocations: 55.34 kB / 475.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1199, allocations: 187.5 kB / 475.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.1199, allocations: 33.7 kB / 475.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.12, allocations: 112 kB / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.12, allocations: 27.61 kB / 475.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.1201, allocations: 29.72 kB / 475.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1202, allocations: 322.8 kB / 476 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.091e-05/0.1203, allocations: 35.91 kB / 476.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.1204, allocations: 64.28 kB / 476.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.1206, allocations: 100.5 kB / 476.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1206, allocations: 0 / 476.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002687/0.1209, allocations: 137.3 kB / 476.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1209, allocations: 4 kB / 476.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.1209, allocations: 8.125 kB / 476.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1209, allocations: 0 / 476.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.121, allocations: 31.86 kB / 476.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1211, allocations: 0 / 476.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.9e-05/0.1211, allocations: 11.94 kB / 476.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1212, allocations: 8 kB / 476.4 MB, free: 7.578 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001012/0.1213, allocations: 125.8 kB / 476.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.1213, allocations: 15.81 kB / 476.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.1213, allocations: 25.39 kB / 476.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1214, allocations: 3.938 kB / 476.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1214, allocations: 0 / 476.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1214, allocations: 3.938 kB / 476.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.1216, allocations: 213.6 kB / 476.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1216, allocations: 0 / 476.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.882e-05/0.1217, allocations: 12 kB / 476.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1217, allocations: 0 / 476.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1217, allocations: 3.984 kB / 476.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.1217, allocations: 3.938 kB / 476.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1217, allocations: 0 / 476.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.1221, allocations: 184.8 kB / 477 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.1221, allocations: 97.08 kB / 477.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1222, allocations: 4 kB / 477.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.624e-05/0.1222, allocations: 15.86 kB / 477.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.1223, allocations: 3.984 kB / 477.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.1223, allocations: 8 kB / 477.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1224, allocations: 145.3 kB / 477.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1224, allocations: 0 / 477.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.1227, allocations: 24 kB / 477.3 MB, free: 6.613 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009322/0.1236, allocations: 407.7 kB / 477.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.1239, allocations: 91.83 kB / 477.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1239, allocations: 4.25 kB / 477.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.947e-05/0.124, allocations: 35.92 kB / 477.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.1243, allocations: 43.56 kB / 477.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.1248, allocations: 285.6 kB / 478.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1251, allocations: 0.7162 MB / 478.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.1252, allocations: 19.42 kB / 478.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of SimCode: time 1.603e-06/0.1252, allocations: 0 / 478.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of Templates: time 0.003808/0.129, allocations: 2.165 MB / 481 MB, free: 2.965 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches