Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001187/0.001187, allocations: 104 kB / 16.94 MB, free: 6.184 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.001075/0.001075, allocations: 191.6 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2146/0.2146, allocations: 43.52 MB / 314.6 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 79.84 kB / 383.4 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1152, allocations: 57.79 MB / 441.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002803/0.118, allocations: 1.699 MB / 442.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.1196, allocations: 1.398 MB / 444.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.352e-05/0.1197, allocations: 4 kB / 444.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.12, allocations: 39.83 kB / 444.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.1203, allocations: 55.7 kB / 444.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.1205, allocations: 87.75 kB / 444.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.1207, allocations: 99.7 kB / 444.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.682e-05/0.1208, allocations: 12.5 kB / 444.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.725e-05/0.1209, allocations: 43.78 kB / 444.6 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.1211, allocations: 47.78 kB / 444.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.1211, allocations: 8 kB / 444.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1212, allocations: 59.97 kB / 444.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.1213, allocations: 23.92 kB / 444.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.63e-05/0.1213, allocations: 35.78 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.1215, allocations: 127.6 kB / 444.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1216, allocations: 0 / 444.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1216, allocations: 4 kB / 444.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.1216, allocations: 0 / 444.9 MB, free: 3.145 MB / 318.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.0005064/0.1221, allocations: 414.9 kB / 445.3 MB, free: 2.691 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1221, allocations: 15.89 kB / 445.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.1222, allocations: 12.84 kB / 445.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.1224, allocations: 204.7 kB / 445.6 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1224, allocations: 11.94 kB / 445.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.1225, allocations: 0 / 445.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.1226, allocations: 79.36 kB / 445.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1227, allocations: 3.938 kB / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1227, allocations: 0 / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.1227, allocations: 0 / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.369e-05/0.1228, allocations: 35.97 kB / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.1231, allocations: 292.7 kB / 446 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.1233, allocations: 74.59 kB / 446 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.1234, allocations: 28.78 kB / 446.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1234, allocations: 8 kB / 446.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.1236, allocations: 75.38 kB / 446.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.1236, allocations: 0 / 446.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006108/0.1243, allocations: 189.4 kB / 446.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.1243, allocations: 85.05 kB / 446.4 MB, free: 1.449 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.1245, allocations: 155 kB / 446.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1245, allocations: 29.7 kB / 446.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.1246, allocations: 100.1 kB / 446.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.1246, allocations: 31.55 kB / 446.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.1246, allocations: 33.64 kB / 446.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.1247, allocations: 318.8 kB / 447.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.106e-05/0.1248, allocations: 27.92 kB / 447.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.1249, allocations: 46.56 kB / 447.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.125, allocations: 73.73 kB / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.125, allocations: 0 / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001723/0.1252, allocations: 109.5 kB / 447.3 MB, free: 496 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1252, allocations: 4 kB / 447.3 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1252, allocations: 4 kB / 447.3 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1252, allocations: 7.875 kB / 447.3 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.853e-05/0.1253, allocations: 15.98 kB / 447.4 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1253, allocations: 4 kB / 447.4 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.1254, allocations: 8.219 kB / 447.4 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1254, allocations: 4 kB / 447.4 MB, free: 448 kB / 318.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 8.814e-05/0.1255, allocations: 129.7 kB / 447.5 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.1255, allocations: 7.906 kB / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.109e-05/0.1256, allocations: 20.66 kB / 447.5 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1256, allocations: 4 kB / 447.5 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1256, allocations: 0 / 447.5 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1256, allocations: 0 / 447.5 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.1261, allocations: 419.1 kB / 447.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1261, allocations: 4 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.1262, allocations: 11.94 kB / 448 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1262, allocations: 0 / 448 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1262, allocations: 4 kB / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1262, allocations: 0 / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1262, allocations: 3.984 kB / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.1265, allocations: 220.2 kB / 448.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/0.1266, allocations: 81.02 kB / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.1266, allocations: 4 kB / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.437e-05/0.1267, allocations: 11.92 kB / 448.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.1267, allocations: 4 kB / 448.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.1268, allocations: 4 kB / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1269, allocations: 123.9 kB / 448.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1269, allocations: 4 kB / 448.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.1272, allocations: 35.98 kB / 448.4 MB, free: 15.25 MB / 334.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.001308/0.1285, allocations: 0.5103 MB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.1287, allocations: 75.84 kB / 449 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1288, allocations: 0 / 449 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.1289, allocations: 35.92 kB / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.1292, allocations: 31.91 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/0.1298, allocations: 236.8 kB / 449.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.1303, allocations: 0.7078 MB / 450 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.1304, allocations: 19.44 kB / 450.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1304, allocations: 0 / 450.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of Templates: time 0.004582/0.135, allocations: 2.16 MB / 452.2 MB, free: 11.53 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches