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.001331/0.001331, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001509/0.001509, allocations: 194 kB / 18.77 MB, free: 4.742 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.412/1.412, allocations: 222.9 MB / 242.5 MB, free: 15.48 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.2136/0.2136, allocations: 44.19 MB / 336.8 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.98 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1167, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003173/0.1199, allocations: 1.713 MB / 470.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1212, allocations: 0.8497 MB / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.598e-05/0.1213, allocations: 0 / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.1216, allocations: 59.84 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.1218, allocations: 55.83 kB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.122, allocations: 95.27 kB / 472 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.1222, allocations: 91.69 kB / 472.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.1222, allocations: 4 kB / 472.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.151e-05/0.1223, allocations: 39.84 kB / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.695e-05/0.1224, allocations: 47.77 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1225, allocations: 0 / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.612e-05/0.1225, allocations: 39.92 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.1226, allocations: 15.92 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.228e-05/0.1227, allocations: 31.8 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.1228, allocations: 72.12 kB / 472.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1228, allocations: 0 / 472.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1228, allocations: 0 / 472.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1228, allocations: 0 / 472.3 MB, free: 11.72 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.0005/0.1234, allocations: 407 kB / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1234, allocations: 8.031 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.1235, allocations: 12.84 kB / 472.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.1237, allocations: 208.1 kB / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1237, allocations: 384 / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.1237, allocations: 4.125 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.1238, allocations: 49.67 kB / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1239, allocations: 0 / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1239, allocations: 0 / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1239, allocations: 0 / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.042e-05/0.124, allocations: 19.92 kB / 473 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.1242, allocations: 189.5 kB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.1243, allocations: 50.56 kB / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.571e-05/0.1244, allocations: 24.78 kB / 473.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1244, allocations: 4 kB / 473.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.1246, allocations: 71.39 kB / 473.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.1246, allocations: 0 / 473.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002703/0.1249, allocations: 93.52 kB / 473.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.1249, allocations: 59.41 kB / 473.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.1251, allocations: 190.1 kB / 473.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.1251, allocations: 25.7 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.1252, allocations: 100.1 kB / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.1252, allocations: 19.8 kB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.1253, allocations: 21.72 kB / 473.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1254, allocations: 322.8 kB / 474.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.087e-05/0.1254, allocations: 15.98 kB / 474.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.336e-05/0.1255, allocations: 21.72 kB / 474.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.769e-05/0.1256, allocations: 49.64 kB / 474.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1256, allocations: 0 / 474.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001584/0.1258, allocations: 81.53 kB / 474.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.1258, allocations: 8 kB / 474.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1258, allocations: 3.984 kB / 474.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1258, allocations: 3.938 kB / 474.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.1259, allocations: 11.94 kB / 474.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1259, allocations: 0 / 474.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.126, allocations: 8 kB / 474.3 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.126, allocations: 4 kB / 474.3 MB, free: 9.441 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.492e-05/0.1261, allocations: 129.8 kB / 474.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.1261, allocations: 11.91 kB / 474.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.1261, allocations: 16.3 kB / 474.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1262, allocations: 0 / 474.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1262, allocations: 0 / 474.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1262, allocations: 0 / 474.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.1263, allocations: 189.5 kB / 474.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.1263, allocations: 320 / 474.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/0.1263, allocations: 4 kB / 474.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1263, allocations: 0 / 474.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.1264, allocations: 4 kB / 474.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1264, allocations: 8 kB / 474.7 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1264, allocations: 0 / 474.7 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.1266, allocations: 112.9 kB / 474.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.1266, allocations: 88.94 kB / 474.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.1266, allocations: 7.938 kB / 474.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.465e-05/0.1267, allocations: 0 / 474.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.1267, allocations: 4 kB / 474.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.1267, allocations: 3.984 kB / 474.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.1268, allocations: 139.2 kB / 475 MB, free: 8.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1269, allocations: 4 kB / 475 MB, free: 8.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002044/0.1271, allocations: 16 kB / 475.1 MB, free: 8.617 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.0008931/0.128, allocations: 411.7 kB / 475.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.1281, allocations: 47.91 kB / 475.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1281, allocations: 0 / 475.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.658e-05/0.1282, allocations: 24 kB / 475.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.1285, allocations: 27.91 kB / 475.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.1289, allocations: 241.4 kB / 475.8 MB, free: 8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.1291, allocations: 0.7004 MB / 476.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.1291, allocations: 15.44 kB / 476.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1291, allocations: 0 / 476.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of Templates: time 0.003066/0.1322, allocations: 1.669 MB / 478.2 MB, free: 5.594 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