Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 89.42 kB / 18 MB, free: 5.734 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.001508/0.001508, allocations: 176.6 kB / 18.91 MB, free: 4.871 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.462/1.462, allocations: 223.3 MB / 243 MB, free: 16 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.202/0.202, allocations: 44.24 MB / 338.3 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003493, allocations: 17.66 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1193, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002091/0.1214, allocations: 1.371 MB / 474.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.1229, allocations: 0.8382 MB / 475.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.445e-05/0.123, allocations: 0 / 475.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.1233, allocations: 51.84 kB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.1236, allocations: 59.81 kB / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.1239, allocations: 94.77 kB / 475.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.1241, allocations: 87.7 kB / 475.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.494e-05/0.1242, allocations: 7.984 kB / 475.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.1243, allocations: 43.83 kB / 475.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1244, allocations: 47.77 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.1245, allocations: 4 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1246, allocations: 31.98 kB / 475.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/0.1246, allocations: 15.92 kB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.299e-05/0.1247, allocations: 57.45 kB / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.1249, allocations: 72.09 kB / 475.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1249, allocations: 0 / 475.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1249, allocations: 0 / 475.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1249, allocations: 4 kB / 475.7 MB, free: 10.53 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005163/0.1254, allocations: 395.1 kB / 476.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1255, allocations: 8.031 kB / 476.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.1255, allocations: 12.84 kB / 476.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.1257, allocations: 196.2 kB / 476.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1258, allocations: 384 / 476.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.1258, allocations: 12.06 kB / 476.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1259, allocations: 49.67 kB / 476.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.126, allocations: 3.938 kB / 476.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.126, allocations: 4 kB / 476.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.126, allocations: 4 kB / 476.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.81e-05/0.1261, allocations: 15.98 kB / 476.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.1263, allocations: 181.5 kB / 476.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.1264, allocations: 54.56 kB / 476.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.662e-05/0.1265, allocations: 24.78 kB / 476.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1265, allocations: 4 kB / 476.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.1267, allocations: 75.38 kB / 476.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.1267, allocations: 0 / 476.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002825/0.127, allocations: 89.58 kB / 476.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.1271, allocations: 55.34 kB / 476.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.1272, allocations: 190.1 kB / 477 MB, free: 8.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1273, allocations: 29.7 kB / 477.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.1273, allocations: 104.1 kB / 477.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.1274, allocations: 11.81 kB / 477.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.1274, allocations: 13.72 kB / 477.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1275, allocations: 322.8 kB / 477.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.116e-05/0.1276, allocations: 12 kB / 477.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.326e-05/0.1276, allocations: 25.7 kB / 477.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.744e-05/0.1277, allocations: 53.7 kB / 477.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1277, allocations: 0 / 477.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001611/0.1279, allocations: 81.47 kB / 477.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1279, allocations: 4 kB / 477.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.128, allocations: 4 kB / 477.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.128, allocations: 0 / 477.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.542e-05/0.128, allocations: 11.98 kB / 477.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1281, allocations: 3.938 kB / 477.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.116e-05/0.1281, allocations: 15.97 kB / 477.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1281, allocations: 0 / 477.7 MB, free: 8.266 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 (7): * Single equations (assignments): 7 * 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.53e-05/0.1282, allocations: 129.8 kB / 477.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.1283, allocations: 7.906 kB / 477.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.1283, allocations: 12.31 kB / 477.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1283, allocations: 0 / 477.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1283, allocations: 0 / 477.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1283, allocations: 3.984 kB / 477.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.1285, allocations: 189.5 kB / 478.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1285, allocations: 0 / 478.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.1285, allocations: 8 kB / 478.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.1285, allocations: 3.984 kB / 478.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1285, allocations: 0 / 478.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1286, allocations: 320 / 478.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1286, allocations: 7.938 kB / 478.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.1287, allocations: 116.9 kB / 478.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.1288, allocations: 88.94 kB / 478.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.1288, allocations: 4 kB / 478.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.676e-05/0.1289, allocations: 4 kB / 478.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.1289, allocations: 4 kB / 478.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1289, allocations: 7.984 kB / 478.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1291, allocations: 139.2 kB / 478.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1291, allocations: 0 / 478.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002102/0.1293, allocations: 12 kB / 478.4 MB, free: 7.441 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0009817/0.1303, allocations: 413.4 kB / 478.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.1304, allocations: 43.92 kB / 478.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1305, allocations: 0 / 478.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.289e-05/0.1305, allocations: 16 kB / 478.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.1308, allocations: 38.28 kB / 478.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004904/0.1313, allocations: 246.8 kB / 479.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.1316, allocations: 0.6965 MB / 479.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.1317, allocations: 19.44 kB / 479.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1317, allocations: 0 / 479.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of Templates: time 0.004033/0.1357, allocations: 1.657 MB / 481.6 MB, free: 4.422 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches