Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 110.3 kB / 17.04 MB, free: 5.816 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.001763/0.001763, allocations: 196 kB / 17.98 MB, free: 5.027 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.447/1.447, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2112/0.2112, allocations: 43.51 MB / 314.7 MB, free: 488 kB / 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.001666/0.001667, allocations: 71.16 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1239, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002937/0.1269, allocations: 1.659 MB / 443.6 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1281, allocations: 0.7828 MB / 444.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.828e-05/0.1282, allocations: 7.938 kB / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.1285, allocations: 47.75 kB / 444.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.1288, allocations: 59.75 kB / 444.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.1291, allocations: 75.78 kB / 444.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.1292, allocations: 99.67 kB / 444.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.424e-05/0.1293, allocations: 4 kB / 444.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.269e-05/0.1294, allocations: 39.8 kB / 444.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.139e-05/0.1295, allocations: 27.8 kB / 444.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1295, allocations: 4 kB / 444.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1297, allocations: 31.97 kB / 444.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.1297, allocations: 27.92 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.487e-05/0.1298, allocations: 35.69 kB / 444.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.13, allocations: 115.6 kB / 445 MB, free: 3.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.13, allocations: 8 kB / 445 MB, free: 3.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.13, allocations: 0 / 445 MB, free: 3.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.13, allocations: 0 / 445 MB, free: 3.125 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004982/0.1305, allocations: 434.6 kB / 445.4 MB, free: 2.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1306, allocations: 19.88 kB / 445.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.1306, allocations: 8.844 kB / 445.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.1309, allocations: 211.8 kB / 445.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.1309, allocations: 8.359 kB / 445.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.131, allocations: 12.12 kB / 445.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1311, allocations: 49.67 kB / 445.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1311, allocations: 0 / 445.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1311, allocations: 3.984 kB / 445.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1312, allocations: 0 / 445.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.086e-05/0.1312, allocations: 15.94 kB / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.1314, allocations: 185.7 kB / 445.9 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.1316, allocations: 54.62 kB / 446 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.037e-05/0.1316, allocations: 28.78 kB / 446 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1317, allocations: 0 / 446 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.1318, allocations: 71.23 kB / 446.1 MB, free: 1.879 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1318, allocations: 3.938 kB / 446.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002813/0.1321, allocations: 93.58 kB / 446.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.1322, allocations: 59.39 kB / 446.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1323, allocations: 254.6 kB / 446.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.1324, allocations: 25.7 kB / 446.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.1324, allocations: 112.1 kB / 446.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.1324, allocations: 19.73 kB / 446.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.1325, allocations: 17.72 kB / 446.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.597e-05/0.1325, allocations: 326.8 kB / 447 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.823e-05/0.1326, allocations: 15.98 kB / 447 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.51e-05/0.1326, allocations: 29.66 kB / 447 MB, free: 0.875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.073e-05/0.1327, allocations: 49.64 kB / 447.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1327, allocations: 256 / 447.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001381/0.1329, allocations: 97.36 kB / 447.2 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1329, allocations: 4 kB / 447.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1329, allocations: 0 / 447.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1329, allocations: 4.031 kB / 447.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.844e-05/0.133, allocations: 16 kB / 447.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.133, allocations: 0 / 447.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.878e-05/0.1331, allocations: 4 kB / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.1331, allocations: 0 / 447.2 MB, free: 0.6914 MB / 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 (7): * Single equations (assignments): 7 * 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.18e-05/0.1332, allocations: 141.7 kB / 447.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.1332, allocations: 15.8 kB / 447.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.1333, allocations: 17 kB / 447.4 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.1333, allocations: 0 / 447.4 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1333, allocations: 4 kB / 447.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1333, allocations: 4 kB / 447.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.1334, allocations: 197.5 kB / 447.6 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1334, allocations: 0 / 447.6 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.1334, allocations: 7.938 kB / 447.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1334, allocations: 0 / 447.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.1335, allocations: 3.984 kB / 447.6 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1335, allocations: 0 / 447.6 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1335, allocations: 0 / 447.6 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.1336, allocations: 120.9 kB / 447.7 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.1337, allocations: 85.02 kB / 447.8 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.1337, allocations: 3.938 kB / 447.8 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.519e-05/0.1337, allocations: 0 / 447.8 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.1338, allocations: 12.05 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.1338, allocations: 0 / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000167/0.134, allocations: 192.4 kB / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.134, allocations: 0 / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.1342, allocations: 20 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009571/0.1352, allocations: 420.9 kB / 448.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001585/0.1354, allocations: 43.97 kB / 448.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1354, allocations: 0 / 448.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.587e-05/0.1355, allocations: 19.94 kB / 448.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.1358, allocations: 43.58 kB / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005085/0.1363, allocations: 258.8 kB / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.1366, allocations: 0.7119 MB / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.425e-05/0.1366, allocations: 16.8 kB / 449.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.1367, allocations: 15.44 kB / 449.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1367, allocations: 0 / 449.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of Templates: time 0.004434/0.1411, allocations: 1.497 MB / 451 MB, free: 12.82 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches