Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 111.1 kB / 17.04 MB, free: 6.027 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.001517/0.001517, allocations: 194.9 kB / 17.97 MB, free: 5.113 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.537/1.537, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.224/0.224, allocations: 43.53 MB / 314.7 MB, free: 464 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.001514/0.001514, allocations: 70.92 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1278, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002872/0.1308, allocations: 1.681 MB / 443.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1319, allocations: 0.8039 MB / 444.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.412e-05/0.132, allocations: 0 / 444.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.1323, allocations: 47.77 kB / 444.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.1325, allocations: 63.75 kB / 444.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.1327, allocations: 90.06 kB / 444.7 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.1329, allocations: 95.69 kB / 444.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.133, allocations: 20.2 kB / 444.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.056e-05/0.1331, allocations: 35.8 kB / 444.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.504e-05/0.1332, allocations: 35.84 kB / 444.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1332, allocations: 4 kB / 444.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.67e-05/0.1333, allocations: 43.98 kB / 444.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.1333, allocations: 31.84 kB / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.855e-05/0.1334, allocations: 35.69 kB / 445 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.1336, allocations: 139.5 kB / 445.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1336, allocations: 0 / 445.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1336, allocations: 0 / 445.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.1336, allocations: 0 / 445.1 MB, free: 3.004 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004535/0.1341, allocations: 438.7 kB / 445.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1341, allocations: 11.89 kB / 445.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.1341, allocations: 12.84 kB / 445.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.1344, allocations: 215.8 kB / 445.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1344, allocations: 4.375 kB / 445.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.1344, allocations: 8.031 kB / 445.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.1346, allocations: 61.61 kB / 445.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1346, allocations: 0 / 445.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1346, allocations: 4 kB / 445.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1346, allocations: 4 kB / 445.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.965e-05/0.1347, allocations: 15.98 kB / 445.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.135, allocations: 300.9 kB / 446.2 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.1351, allocations: 62.61 kB / 446.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.1352, allocations: 20.8 kB / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1352, allocations: 4 kB / 446.2 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.1353, allocations: 71.33 kB / 446.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1353, allocations: 0 / 446.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004838/0.1358, allocations: 177 kB / 446.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.1359, allocations: 55.41 kB / 446.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.1361, allocations: 262.5 kB / 446.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.1361, allocations: 29.7 kB / 446.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.1361, allocations: 116 kB / 446.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.1362, allocations: 23.73 kB / 447 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.1362, allocations: 21.72 kB / 447 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.1363, allocations: 330.8 kB / 447.3 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.078e-05/0.1363, allocations: 19.98 kB / 447.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.082e-05/0.1364, allocations: 41.64 kB / 447.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.072e-05/0.1365, allocations: 61.69 kB / 447.4 MB, free: 452 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1365, allocations: 0 / 447.4 MB, free: 452 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001439/0.1366, allocations: 109.5 kB / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.1366, allocations: 8 kB / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1367, allocations: 0 / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.1367, allocations: 0 / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.722e-05/0.1368, allocations: 15.98 kB / 447.6 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1368, allocations: 0 / 447.6 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.1368, allocations: 11.97 kB / 447.6 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1369, allocations: 4 kB / 447.6 MB, free: 296 kB / 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 (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 7.92e-05/0.1369, allocations: 141.7 kB / 447.7 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.137, allocations: 11.81 kB / 447.7 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/0.137, allocations: 21.39 kB / 447.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.137, allocations: 384 / 447.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.137, allocations: 4 kB / 447.7 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1371, allocations: 3.938 kB / 447.7 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.1375, allocations: 415.2 kB / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1375, allocations: 0 / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.1376, allocations: 8 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1376, allocations: 0 / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1376, allocations: 3.938 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.1376, allocations: 7.984 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1376, allocations: 192 / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.1379, allocations: 212.2 kB / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.1379, allocations: 92.86 kB / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.138, allocations: 11.94 kB / 448.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-05/0.138, allocations: 0 / 448.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.1381, allocations: 7.984 kB / 448.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.1381, allocations: 4 kB / 448.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000172/0.1383, allocations: 196.5 kB / 448.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1383, allocations: 0 / 448.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.1385, allocations: 31.98 kB / 448.7 MB, free: 15.04 MB / 334.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.001092/0.1396, allocations: 455.5 kB / 449.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.1398, allocations: 63.91 kB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1399, allocations: 0 / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.096e-05/0.1399, allocations: 27.94 kB / 449.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.1403, allocations: 32.22 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005135/0.1408, allocations: 284 kB / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.1411, allocations: 0.7198 MB / 450.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.973e-05/0.1412, allocations: 20.86 kB / 450.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.1412, allocations: 11.44 kB / 450.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1413, allocations: 4 kB / 450.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of Templates: time 0.004597/0.1459, allocations: 1.731 MB / 452 MB, free: 11.75 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches