Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 103.1 kB / 17.32 MB, free: 5.984 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.001708/0.001708, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.386/1.386, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2171/0.2171, allocations: 44.18 MB / 336.2 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 72.45 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1059, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003241/0.1091, allocations: 1.761 MB / 470.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1111, allocations: 1.464 MB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.077e-05/0.1112, allocations: 0 / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.1114, allocations: 35.84 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.1117, allocations: 43.83 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.1119, allocations: 99.2 kB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.1121, allocations: 99.69 kB / 472.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.047e-05/0.1122, allocations: 4.234 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.88e-05/0.1123, allocations: 51.72 kB / 472.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.1124, allocations: 39.84 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1124, allocations: 4 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1126, allocations: 59.97 kB / 472.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.1126, allocations: 19.91 kB / 472.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.115e-05/0.1127, allocations: 31.75 kB / 472.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.1129, allocations: 123.9 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1129, allocations: 0 / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1129, allocations: 0 / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1129, allocations: 0 / 472.5 MB, free: 10.89 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004926/0.1134, allocations: 399.2 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.1135, allocations: 8.031 kB / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.1135, allocations: 16.83 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.1137, allocations: 200.1 kB / 473.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1137, allocations: 4.375 kB / 473.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.1138, allocations: 8.125 kB / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1139, allocations: 71.31 kB / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1139, allocations: 4 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.114, allocations: 4 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.114, allocations: 0 / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/0.1141, allocations: 19.98 kB / 473.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.1144, allocations: 280.8 kB / 473.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.1146, allocations: 58.62 kB / 473.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.31e-05/0.1147, allocations: 24.84 kB / 473.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.1147, allocations: 4 kB / 473.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001921/0.1149, allocations: 63.39 kB / 473.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1149, allocations: 0 / 473.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005192/0.1154, allocations: 173.1 kB / 473.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.1155, allocations: 77.11 kB / 473.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1156, allocations: 160.2 kB / 474.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1157, allocations: 25.7 kB / 474.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.1157, allocations: 92.14 kB / 474.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.1158, allocations: 27.69 kB / 474.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.1158, allocations: 25.72 kB / 474.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1159, allocations: 326.8 kB / 474.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.892e-05/0.116, allocations: 23.86 kB / 474.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.709e-05/0.1161, allocations: 46.56 kB / 474.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.1162, allocations: 54.09 kB / 474.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1162, allocations: 4 kB / 474.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001846/0.1164, allocations: 97.52 kB / 474.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1164, allocations: 4 kB / 474.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1164, allocations: 7.984 kB / 474.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1164, allocations: 4 kB / 474.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.1165, allocations: 24.05 kB / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1165, allocations: 0 / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.247e-05/0.1166, allocations: 11.88 kB / 474.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.1166, allocations: 3.938 kB / 474.8 MB, free: 8.332 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 (10): * Single equations (assignments): 10 * 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.000107/0.1167, allocations: 117.8 kB / 475 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.1168, allocations: 11.89 kB / 475 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.1168, allocations: 12.72 kB / 475 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1168, allocations: 0 / 475 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1168, allocations: 0 / 475 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1168, allocations: 11.94 kB / 475 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.1173, allocations: 391.3 kB / 475.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1173, allocations: 0 / 475.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/0.1173, allocations: 8 kB / 475.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1173, allocations: 0 / 475.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1174, allocations: 11.88 kB / 475.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1174, allocations: 4.234 kB / 475.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1174, allocations: 0 / 475.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.1176, allocations: 208.2 kB / 475.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.1177, allocations: 85 kB / 475.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.1177, allocations: 11.94 kB / 475.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.1178, allocations: 0 / 475.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.1178, allocations: 7.984 kB / 475.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1178, allocations: 4 kB / 475.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.648e-05/0.1179, allocations: 119.2 kB / 475.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1179, allocations: 0 / 475.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003369/0.1183, allocations: 36 kB / 475.9 MB, free: 7.203 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: 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 (8): * Single equations (assignments): 6 * 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.001092/0.1194, allocations: 0.4969 MB / 476.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.1196, allocations: 55.92 kB / 476.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1196, allocations: 4 kB / 476.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.06e-05/0.1197, allocations: 28.05 kB / 476.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.12, allocations: 34.08 kB / 476.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.1204, allocations: 222.7 kB / 476.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.1207, allocations: 0.7002 MB / 477.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.585e-05/0.1207, allocations: 16.86 kB / 477.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.1208, allocations: 19.44 kB / 477.4 MB, free: 5.773 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1208, allocations: 0 / 477.4 MB, free: 5.773 MB / 350.1 MB Notification: Performance of Templates: time 0.004749/0.1256, allocations: 1.947 MB / 479.4 MB, free: 3.84 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches