Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 110.9 kB / 17.33 MB, free: 6.012 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.0009961/0.0009961, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.427/1.427, allocations: 222.9 MB / 241.9 MB, free: 15.45 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.2035/0.2035, allocations: 44.18 MB / 336.2 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 64.38 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1213, allocations: 60.83 MB / 468.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003603/0.125, allocations: 1.932 MB / 470.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.1267, allocations: 0.9783 MB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.1268, allocations: 3.938 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005415/0.1275, allocations: 219.5 kB / 471.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003713/0.1279, allocations: 155.5 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.1283, allocations: 159.5 kB / 472.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.1286, allocations: 239.3 kB / 472.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.1288, allocations: 33.67 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1289, allocations: 119.5 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.1291, allocations: 151.5 kB / 472.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.1292, allocations: 8 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.1293, allocations: 63.98 kB / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.631e-05/0.1294, allocations: 63.75 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.1295, allocations: 83.36 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.1298, allocations: 235.4 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1299, allocations: 4 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1299, allocations: 4 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1299, allocations: 0 / 473.1 MB, free: 10.29 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007334/0.1306, allocations: 0.5447 MB / 473.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1307, allocations: 12.03 kB / 473.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.228e-05/0.1307, allocations: 24.66 kB / 473.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.1311, allocations: 280.1 kB / 474 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1311, allocations: 8.312 kB / 474 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.1311, allocations: 20.06 kB / 474 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.1314, allocations: 110.3 kB / 474.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1314, allocations: 3.906 kB / 474.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1314, allocations: 3.938 kB / 474.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1314, allocations: 4 kB / 474.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.1316, allocations: 43.97 kB / 474.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/0.1321, allocations: 476.7 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.1325, allocations: 133.2 kB / 474.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.881e-05/0.1326, allocations: 41.83 kB / 474.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.1327, allocations: 4 kB / 474.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000319/0.133, allocations: 121 kB / 475 MB, free: 8.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.133, allocations: 0 / 475 MB, free: 8.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001384/0.1344, allocations: 496.8 kB / 475.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.1345, allocations: 89.03 kB / 475.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/0.1349, allocations: 420.5 kB / 475.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1349, allocations: 33.7 kB / 476 MB, free: 7.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1351, allocations: 156.5 kB / 476.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.511e-05/0.1351, allocations: 67.08 kB / 476.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-05/0.1352, allocations: 45.7 kB / 476.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1353, allocations: 346.8 kB / 476.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1355, allocations: 55.97 kB / 476.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.1356, allocations: 99.27 kB / 476.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.1359, allocations: 159.5 kB / 476.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1359, allocations: 0 / 476.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000395/0.1363, allocations: 229.2 kB / 477.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1363, allocations: 11.92 kB / 477.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1364, allocations: 0 / 477.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1364, allocations: 7.984 kB / 477.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.1365, allocations: 39.92 kB / 477.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1365, allocations: 4 kB / 477.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.375e-05/0.1366, allocations: 12 kB / 477.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.1367, allocations: 19.98 kB / 477.2 MB, free: 5.953 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001678/0.1368, allocations: 166.3 kB / 477.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.1369, allocations: 35.56 kB / 477.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.878e-05/0.137, allocations: 38.62 kB / 477.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.137, allocations: 7.938 kB / 477.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.137, allocations: 0 / 477.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.137, allocations: 4 kB / 477.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008922/0.1379, allocations: 0.7311 MB / 478.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1379, allocations: 3.938 kB / 478.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.721e-05/0.138, allocations: 24 kB / 478.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.138, allocations: 4 kB / 478.2 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.1381, allocations: 16.11 kB / 478.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1381, allocations: 0 / 478.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1381, allocations: 4 kB / 478.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.1385, allocations: 421.6 kB / 478.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.839e-05/0.1386, allocations: 100.7 kB / 478.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.1386, allocations: 8 kB / 478.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.1388, allocations: 7.984 kB / 478.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.1389, allocations: 27.86 kB / 478.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.1389, allocations: 8 kB / 478.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002992/0.1392, allocations: 319 kB / 479.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1392, allocations: 4 kB / 479.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003624/0.1396, allocations: 51.98 kB / 479.1 MB, free: 3.871 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001209/0.1408, allocations: 0.5121 MB / 479.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003821/0.1412, allocations: 159.8 kB / 479.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1412, allocations: 4 kB / 479.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.1414, allocations: 88.14 kB / 479.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.142, allocations: 63.02 kB / 480 MB, free: 3.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008796/0.1429, allocations: 0.6214 MB / 480.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.1432, allocations: 0.7753 MB / 481.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.1433, allocations: 41.91 kB / 481.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.1434, allocations: 27.44 kB / 481.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1434, allocations: 0 / 481.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of Templates: time 0.006386/0.1498, allocations: 3.076 MB / 484.5 MB, free: 14.67 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches