Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 110.3 kB / 17.98 MB, free: 5.238 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.001583/0.001583, allocations: 193.3 kB / 18.9 MB, free: 4.32 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.314/1.314, allocations: 222.9 MB / 242.6 MB, free: 13.68 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.2053/0.2053, allocations: 44.18 MB / 336.9 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 72.94 kB / 408.6 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1116, allocations: 60.84 MB / 469.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003607/0.1152, allocations: 1.718 MB / 471.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1168, allocations: 0.842 MB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.809e-05/0.1169, allocations: 0 / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.1173, allocations: 43.88 kB / 472 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.1176, allocations: 55.77 kB / 472.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.118, allocations: 87.83 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.1182, allocations: 95.7 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.1182, allocations: 8 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.93e-05/0.1183, allocations: 39.78 kB / 472.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.756e-05/0.1184, allocations: 39.72 kB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.1185, allocations: 4 kB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1186, allocations: 28 kB / 472.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.1187, allocations: 31.89 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.1187, allocations: 35.69 kB / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.1189, allocations: 92.09 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1189, allocations: 0 / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1189, allocations: 0 / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1189, allocations: 0 / 472.5 MB, free: 11.55 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.0005995/0.1196, allocations: 430.8 kB / 472.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1196, allocations: 12.03 kB / 472.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.1197, allocations: 12.75 kB / 472.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.1199, allocations: 223.9 kB / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.1199, allocations: 384 / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.12, allocations: 4.125 kB / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.1201, allocations: 53.67 kB / 473.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1201, allocations: 0 / 473.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1202, allocations: 4 kB / 473.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1202, allocations: 3.938 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.155e-05/0.1203, allocations: 15.98 kB / 473.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002075/0.1205, allocations: 189.6 kB / 473.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.1206, allocations: 54.61 kB / 473.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.1207, allocations: 20.8 kB / 473.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.1207, allocations: 4 kB / 473.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.121, allocations: 63.39 kB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.121, allocations: 0 / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002906/0.1213, allocations: 105.4 kB / 473.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.1213, allocations: 51.41 kB / 473.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.1216, allocations: 262.9 kB / 474 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1216, allocations: 25.7 kB / 474 MB, free: 9.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.1217, allocations: 116.1 kB / 474.1 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.1217, allocations: 11.91 kB / 474.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.1218, allocations: 17.72 kB / 474.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1219, allocations: 326.8 kB / 474.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.04e-05/0.1219, allocations: 15.98 kB / 474.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.775e-05/0.122, allocations: 33.69 kB / 474.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.942e-05/0.1221, allocations: 45.66 kB / 474.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.1221, allocations: 3.984 kB / 474.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001595/0.1223, allocations: 89.38 kB / 474.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1223, allocations: 4 kB / 474.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1223, allocations: 0 / 474.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1223, allocations: 7.938 kB / 474.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.951e-05/0.1224, allocations: 11.98 kB / 474.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.1224, allocations: 0 / 474.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.159e-05/0.1225, allocations: 15.95 kB / 474.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.1225, allocations: 320 / 474.7 MB, free: 9.125 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 0.0001053/0.1226, allocations: 137.8 kB / 474.8 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.1227, allocations: 11.81 kB / 474.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.1227, allocations: 17 kB / 474.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1227, allocations: 0 / 474.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.1227, allocations: 7.984 kB / 474.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1227, allocations: 4 kB / 474.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.1229, allocations: 193.6 kB / 475.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1229, allocations: 7.984 kB / 475.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.313e-05/0.1229, allocations: 7.938 kB / 475.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.123, allocations: 0 / 475.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.123, allocations: 3.938 kB / 475.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.123, allocations: 0 / 475.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.123, allocations: 0 / 475.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.1232, allocations: 116.9 kB / 475.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.1232, allocations: 88.92 kB / 475.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.1233, allocations: 4 kB / 475.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.518e-05/0.1233, allocations: 0 / 475.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.1233, allocations: 7.984 kB / 475.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1234, allocations: 0 / 475.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.1235, allocations: 200.2 kB / 475.5 MB, free: 8.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1235, allocations: 0 / 475.5 MB, free: 8.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.1238, allocations: 19.98 kB / 475.5 MB, free: 8.215 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.0009832/0.1247, allocations: 413.3 kB / 475.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.1249, allocations: 43.92 kB / 475.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1249, allocations: 4 kB / 476 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.592e-05/0.125, allocations: 27.92 kB / 476 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.1253, allocations: 27.86 kB / 476 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005417/0.1258, allocations: 316.4 kB / 476.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.1262, allocations: 0.7145 MB / 477 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.1262, allocations: 15.44 kB / 477 MB, free: 6.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1262, allocations: 0 / 477 MB, free: 6.77 MB / 350.1 MB Notification: Performance of Templates: time 0.004204/0.1304, allocations: 1.836 MB / 478.9 MB, free: 4.941 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches