Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 108.4 kB / 17.98 MB, free: 5.379 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.0009779/0.0009779, allocations: 193.3 kB / 18.9 MB, free: 4.461 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.281/1.281, allocations: 222.9 MB / 242.6 MB, free: 15.42 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.206/0.206, allocations: 44.16 MB / 336.9 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 66.98 kB / 408.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1126, allocations: 60.83 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003631/0.1163, allocations: 1.769 MB / 471.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.1186, allocations: 1.452 MB / 472.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.244e-05/0.1187, allocations: 3.938 kB / 472.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003649/0.1191, allocations: 35.89 kB / 472.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.1194, allocations: 47.84 kB / 472.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.1198, allocations: 99.7 kB / 472.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.12, allocations: 111.7 kB / 472.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1201, allocations: 8.234 kB / 472.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.996e-05/0.1202, allocations: 47.78 kB / 472.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.1203, allocations: 39.84 kB / 473 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.1204, allocations: 7.938 kB / 473 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.1205, allocations: 67.95 kB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.1206, allocations: 19.92 kB / 473.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.1206, allocations: 31.8 kB / 473.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.1209, allocations: 100 kB / 473.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1209, allocations: 4 kB / 473.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1209, allocations: 0 / 473.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1209, allocations: 0 / 473.2 MB, free: 10.86 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006044/0.1215, allocations: 407 kB / 473.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1215, allocations: 12.03 kB / 473.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/0.1216, allocations: 8.844 kB / 473.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.1219, allocations: 220.6 kB / 473.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1219, allocations: 7.938 kB / 473.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.122, allocations: 4 kB / 473.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.1222, allocations: 67.39 kB / 473.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1222, allocations: 0 / 473.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.1222, allocations: 4 kB / 473.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1222, allocations: 0 / 473.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.206e-05/0.1223, allocations: 31.91 kB / 474 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.1227, allocations: 304.7 kB / 474.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.1229, allocations: 70.67 kB / 474.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.108e-05/0.123, allocations: 20.86 kB / 474.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.123, allocations: 0 / 474.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.1233, allocations: 79.31 kB / 474.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.1233, allocations: 0 / 474.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006257/0.1239, allocations: 197.1 kB / 474.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.124, allocations: 81.05 kB / 474.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.1242, allocations: 160.7 kB / 474.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.1242, allocations: 29.7 kB / 474.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.1243, allocations: 100.1 kB / 475 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.1243, allocations: 27.72 kB / 475 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.1244, allocations: 25.7 kB / 475 MB, free: 8.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1245, allocations: 326.8 kB / 475.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.029e-05/0.1246, allocations: 20 kB / 475.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.937e-05/0.1247, allocations: 46.55 kB / 475.4 MB, free: 8.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.1249, allocations: 73.69 kB / 475.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1249, allocations: 0 / 475.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002309/0.1251, allocations: 113.5 kB / 475.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1251, allocations: 8 kB / 475.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1251, allocations: 0 / 475.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1252, allocations: 3.938 kB / 475.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.956e-05/0.1253, allocations: 23.92 kB / 475.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1253, allocations: 0 / 475.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.1253, allocations: 4 kB / 475.6 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.1254, allocations: 8.031 kB / 475.6 MB, free: 8.176 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 (11): * Single equations (assignments): 11 * 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.000109/0.1255, allocations: 130.3 kB / 475.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.1255, allocations: 11.81 kB / 475.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.719e-05/0.1256, allocations: 16.66 kB / 475.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.1256, allocations: 4 kB / 475.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1256, allocations: 4.172 kB / 475.8 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1256, allocations: 0 / 475.8 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.1261, allocations: 419.2 kB / 476.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1261, allocations: 4 kB / 476.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.1262, allocations: 8 kB / 476.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1262, allocations: 0 / 476.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1262, allocations: 7.984 kB / 476.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1262, allocations: 0 / 476.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1262, allocations: 4.484 kB / 476.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.1265, allocations: 216.3 kB / 476.5 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.1265, allocations: 85.02 kB / 476.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.1266, allocations: 7.922 kB / 476.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.1266, allocations: 8 kB / 476.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.1267, allocations: 4 kB / 476.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1267, allocations: 7.984 kB / 476.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.1269, allocations: 118.1 kB / 476.7 MB, free: 7.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1269, allocations: 0 / 476.7 MB, free: 7.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.1272, allocations: 36 kB / 476.7 MB, free: 7 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 (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.001195/0.1284, allocations: 0.4953 MB / 477.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.1286, allocations: 75.84 kB / 477.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.1286, allocations: 4 kB / 477.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.122e-05/0.1287, allocations: 31.94 kB / 477.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.129, allocations: 23.97 kB / 477.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.1295, allocations: 272.6 kB / 477.6 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.1299, allocations: 0.6999 MB / 478.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.13, allocations: 27.42 kB / 478.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.13, allocations: 0 / 478.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of Templates: time 0.004655/0.1346, allocations: 2.174 MB / 480.5 MB, free: 3.348 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches