Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.00143/0.00143, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.366/1.366, allocations: 222.9 MB / 242.9 MB, free: 15.22 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.2164/0.2164, allocations: 44.18 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.66 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1071, allocations: 60.81 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003582/0.1107, allocations: 1.715 MB / 471.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.1124, allocations: 0.8885 MB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1126, allocations: 0 / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.113, allocations: 115.6 kB / 472.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.1134, allocations: 87.7 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.1138, allocations: 106.5 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.114, allocations: 119.7 kB / 472.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1141, allocations: 12 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1143, allocations: 55.77 kB / 473 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.1144, allocations: 71.73 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.1144, allocations: 4 kB / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.1146, allocations: 51.98 kB / 473.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.103e-05/0.1147, allocations: 31.86 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.204e-05/0.1148, allocations: 39.67 kB / 473.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.1151, allocations: 139.8 kB / 473.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1151, allocations: 7.984 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1151, allocations: 4 kB / 473.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.1151, allocations: 0 / 473.4 MB, free: 10.92 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006212/0.1157, allocations: 433.8 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1158, allocations: 8.031 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.1158, allocations: 12.84 kB / 473.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.1161, allocations: 228.6 kB / 474 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1161, allocations: 4.375 kB / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.1162, allocations: 4.125 kB / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.1163, allocations: 61.67 kB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1164, allocations: 3.984 kB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.1164, allocations: 3.984 kB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1164, allocations: 0 / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.782e-05/0.1165, allocations: 27.98 kB / 474.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.1169, allocations: 304.7 kB / 474.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.1172, allocations: 66.55 kB / 474.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.1173, allocations: 16.98 kB / 474.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.1173, allocations: 3.984 kB / 474.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.1176, allocations: 75.39 kB / 474.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.1176, allocations: 0 / 474.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000819/0.1184, allocations: 249.3 kB / 474.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.1185, allocations: 67.33 kB / 474.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.1187, allocations: 234.3 kB / 475.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.1187, allocations: 29.7 kB / 475.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.1188, allocations: 108.1 kB / 475.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.1188, allocations: 39.48 kB / 475.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.1189, allocations: 21.72 kB / 475.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.119, allocations: 326.8 kB / 475.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.485e-05/0.1191, allocations: 35.98 kB / 475.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-05/0.1192, allocations: 53.69 kB / 475.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.1193, allocations: 73.66 kB / 475.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1194, allocations: 0 / 475.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002246/0.1196, allocations: 129.4 kB / 475.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1196, allocations: 4 kB / 475.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1196, allocations: 0 / 475.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1196, allocations: 8.031 kB / 475.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.1197, allocations: 23.92 kB / 476 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1197, allocations: 3.938 kB / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.341e-05/0.1198, allocations: 8 kB / 476 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.1198, allocations: 4 kB / 476 MB, free: 8.066 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 (13): * Single equations (assignments): 13 * 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.0001257/0.12, allocations: 129.8 kB / 476.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.12, allocations: 15.81 kB / 476.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.46e-05/0.12, allocations: 25.39 kB / 476.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1201, allocations: 4 kB / 476.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.1201, allocations: 3.938 kB / 476.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1201, allocations: 0 / 476.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005484/0.1206, allocations: 455.9 kB / 476.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1206, allocations: 4 kB / 476.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.323e-05/0.1207, allocations: 11.94 kB / 476.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1207, allocations: 7.984 kB / 476.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1207, allocations: 8.062 kB / 476.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.1207, allocations: 7.938 kB / 476.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1207, allocations: 0 / 476.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.121, allocations: 221.1 kB / 476.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.1211, allocations: 92.91 kB / 476.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.1211, allocations: 12 kB / 477 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.57e-05/0.1212, allocations: 7.938 kB / 477 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.1213, allocations: 7.984 kB / 477 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1213, allocations: 4 kB / 477 MB, free: 6.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.1214, allocations: 184.4 kB / 477.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1214, allocations: 3.938 kB / 477.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000287/0.1217, allocations: 28 kB / 477.2 MB, free: 6.746 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.00122/0.123, allocations: 0.5179 MB / 477.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.1232, allocations: 83.91 kB / 477.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1232, allocations: 0 / 477.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.817e-05/0.1233, allocations: 43.92 kB / 477.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.1237, allocations: 27.42 kB / 477.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005797/0.1243, allocations: 334.6 kB / 478.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.1246, allocations: 0.7232 MB / 478.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.1247, allocations: 23.44 kB / 478.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1247, allocations: 0 / 478.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of Templates: time 0.0046/0.1293, allocations: 2.247 MB / 481.2 MB, free: 2.902 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches