Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 107 kB / 17.33 MB, free: 6 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.001707/0.001707, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.419/1.419, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2168/0.2168, allocations: 44.18 MB / 336.2 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.41 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1144, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003364/0.1178, allocations: 1.753 MB / 470.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1193, allocations: 0.8653 MB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.524e-05/0.1193, allocations: 0 / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.1197, allocations: 51.81 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.1199, allocations: 51.83 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.1202, allocations: 99.02 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.1203, allocations: 99.69 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.529e-05/0.1204, allocations: 16.22 kB / 471.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.736e-05/0.1205, allocations: 39.8 kB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.1206, allocations: 35.78 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1206, allocations: 4 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.724e-05/0.1207, allocations: 47.97 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.1208, allocations: 23.92 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.199e-05/0.1208, allocations: 39.69 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.121, allocations: 127.8 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.121, allocations: 7.938 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.121, allocations: 0 / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1211, allocations: 0 / 472 MB, free: 11.46 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000581/0.1216, allocations: 442.7 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1217, allocations: 11.97 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.1218, allocations: 16.75 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.1221, allocations: 208 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.1221, allocations: 8.359 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.1221, allocations: 8.125 kB / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.1223, allocations: 57.66 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1223, allocations: 3.938 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.1223, allocations: 8 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1223, allocations: 0 / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.529e-05/0.1224, allocations: 15.98 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.1228, allocations: 292.9 kB / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.123, allocations: 62.67 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.123, allocations: 20.8 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.1231, allocations: 3.984 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.1232, allocations: 67.39 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1233, allocations: 0 / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005093/0.1238, allocations: 185 kB / 473.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.1238, allocations: 59.39 kB / 473.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.124, allocations: 258.9 kB / 473.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1241, allocations: 25.7 kB / 473.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/0.1241, allocations: 112.1 kB / 473.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.1242, allocations: 23.7 kB / 473.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.1242, allocations: 25.72 kB / 473.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1244, allocations: 334.8 kB / 474.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.475e-05/0.1244, allocations: 20 kB / 474.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.713e-05/0.1245, allocations: 37.7 kB / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.1246, allocations: 61.58 kB / 474.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1246, allocations: 0 / 474.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002461/0.1249, allocations: 113.4 kB / 474.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.1249, allocations: 6.5 kB / 474.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.125, allocations: 8.406 kB / 474.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.125, allocations: 0 / 474.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1251, allocations: 12 kB / 474.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.1251, allocations: 4 kB / 474.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.963e-05/0.1252, allocations: 11.92 kB / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.1252, allocations: 8 kB / 474.5 MB, free: 8.738 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 (10): * Single equations (assignments): 10 * 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.0001632/0.1254, allocations: 136.5 kB / 474.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.1255, allocations: 15.81 kB / 474.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.663e-05/0.1256, allocations: 29.28 kB / 474.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1256, allocations: 0 / 474.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1256, allocations: 0 / 474.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.1256, allocations: 11.92 kB / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005328/0.1262, allocations: 395.3 kB / 475 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1262, allocations: 0 / 475 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.1262, allocations: 11.98 kB / 475 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1262, allocations: 0 / 475 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.1262, allocations: 7.969 kB / 475 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1263, allocations: 8 kB / 475.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1263, allocations: 0 / 475.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.1265, allocations: 196.4 kB / 475.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/0.1265, allocations: 92.92 kB / 475.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.1266, allocations: 3.938 kB / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.1267, allocations: 7.984 kB / 475.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.1267, allocations: 11.94 kB / 475.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1267, allocations: 4 kB / 475.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.1269, allocations: 200.2 kB / 475.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1269, allocations: 4 kB / 475.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1272, allocations: 24 kB / 475.6 MB, free: 7.5 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 (8): * Single equations (assignments): 6 * 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.001244/0.1284, allocations: 469 kB / 476 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.1287, allocations: 55.91 kB / 476.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1287, allocations: 0 / 476.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.1289, allocations: 35.92 kB / 476.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.1293, allocations: 31.44 kB / 476.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000598/0.1299, allocations: 315.8 kB / 476.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1302, allocations: 0.7197 MB / 477.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.245e-05/0.1303, allocations: 21.19 kB / 477.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.1304, allocations: 15.44 kB / 477.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1304, allocations: 0 / 477.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of Templates: time 0.005135/0.1355, allocations: 1.715 MB / 478.9 MB, free: 4.273 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches