Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001007/0.001007, allocations: 191 kB / 19.34 MB, free: 3.766 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.315/1.315, allocations: 222.9 MB / 243 MB, free: 15.13 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.2169/0.2169, allocations: 44.19 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 72.48 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1181, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003823/0.122, allocations: 1.726 MB / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1235, allocations: 0.8769 MB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.638e-05/0.1236, allocations: 7.938 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.1239, allocations: 87.69 kB / 473.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.1242, allocations: 83.7 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.1245, allocations: 110.6 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.1247, allocations: 111.7 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1248, allocations: 15.98 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.782e-05/0.1249, allocations: 55.77 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.125, allocations: 59.75 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.125, allocations: 8 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1252, allocations: 67.91 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.1252, allocations: 23.91 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.873e-05/0.1253, allocations: 39.69 kB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.1255, allocations: 139.6 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1256, allocations: 0 / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1256, allocations: 0 / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1256, allocations: 0 / 474.1 MB, free: 10.22 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.0006201/0.1262, allocations: 426.9 kB / 474.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1262, allocations: 12.03 kB / 474.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.1263, allocations: 12.75 kB / 474.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.1266, allocations: 216 kB / 474.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.1266, allocations: 384 / 474.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.1266, allocations: 8.125 kB / 474.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.1268, allocations: 61.64 kB / 474.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1268, allocations: 7.906 kB / 474.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1268, allocations: 0 / 474.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1268, allocations: 0 / 474.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.745e-05/0.1269, allocations: 27.98 kB / 474.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.1273, allocations: 304.7 kB / 475.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.1275, allocations: 58.55 kB / 475.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.668e-05/0.1276, allocations: 24.97 kB / 475.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1276, allocations: 4 kB / 475.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.1278, allocations: 75.33 kB / 475.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.1278, allocations: 0 / 475.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007297/0.1285, allocations: 237.1 kB / 475.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.1286, allocations: 59.33 kB / 475.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.1288, allocations: 219.5 kB / 475.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1288, allocations: 29.7 kB / 475.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/0.1289, allocations: 120 kB / 476 MB, free: 8.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.1289, allocations: 31.55 kB / 476 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.129, allocations: 29.7 kB / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1291, allocations: 330.8 kB / 476.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.495e-05/0.1292, allocations: 23.98 kB / 476.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.6e-05/0.1292, allocations: 49.64 kB / 476.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.1294, allocations: 85.64 kB / 476.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1294, allocations: 0 / 476.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002059/0.1296, allocations: 133.4 kB / 476.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1296, allocations: 7.984 kB / 476.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1296, allocations: 0 / 476.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1297, allocations: 4 kB / 476.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.1297, allocations: 16 kB / 476.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1298, allocations: 3.938 kB / 476.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/0.1298, allocations: 7.984 kB / 476.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1298, allocations: 8.031 kB / 476.7 MB, free: 7.395 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.0001045/0.1299, allocations: 135.3 kB / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.13, allocations: 11.81 kB / 476.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.13, allocations: 22.11 kB / 476.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.13, allocations: 4 kB / 476.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1301, allocations: 3.938 kB / 476.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1301, allocations: 0 / 476.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.1306, allocations: 448.1 kB / 477.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1306, allocations: 0 / 477.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.1306, allocations: 23.92 kB / 477.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1306, allocations: 4 kB / 477.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1307, allocations: 3.984 kB / 477.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1307, allocations: 4 kB / 477.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1307, allocations: 0 / 477.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.1309, allocations: 236.9 kB / 477.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.131, allocations: 89 kB / 477.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.131, allocations: 8 kB / 477.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.1311, allocations: 4 kB / 477.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.1312, allocations: 7.984 kB / 477.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.1312, allocations: 12 kB / 477.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.1313, allocations: 167.5 kB / 477.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1313, allocations: 0 / 477.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.1316, allocations: 35.89 kB / 477.9 MB, free: 6.09 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.001229/0.1328, allocations: 0.5063 MB / 478.4 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.1331, allocations: 79.84 kB / 478.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1331, allocations: 0 / 478.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.267e-05/0.1332, allocations: 44.11 kB / 478.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.1335, allocations: 39.56 kB / 478.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/0.134, allocations: 272.5 kB / 478.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.1343, allocations: 0.7233 MB / 479.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.513e-05/0.1344, allocations: 24.62 kB / 479.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.1344, allocations: 19.42 kB / 479.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1344, allocations: 0 / 479.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of Templates: time 0.004768/0.1392, allocations: 1.964 MB / 481.5 MB, free: 2.598 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches