Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001746, allocations: 102.5 kB / 16.27 MB, free: 5.93 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.001846/0.001846, allocations: 193.2 kB / 17.2 MB, free: 5.574 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.823/1.823, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2344/0.2344, allocations: 43.53 MB / 313.9 MB, free: 0.5273 MB / 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.001632/0.001632, allocations: 74.67 kB / 382.7 MB, free: 56.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1219, allocations: 57.79 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003788/0.1257, allocations: 1.784 MB / 442.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.1275, allocations: 0.8685 MB / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.1277, allocations: 0 / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005802/0.1284, allocations: 315.3 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004724/0.1289, allocations: 211.3 kB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.1293, allocations: 143.3 kB / 443.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003768/0.1297, allocations: 239.4 kB / 444.1 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.202e-05/0.1298, allocations: 17.55 kB / 444.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.13, allocations: 123.6 kB / 444.2 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.1303, allocations: 191.5 kB / 444.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.1303, allocations: 8 kB / 444.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.1305, allocations: 47.97 kB / 444.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.1306, allocations: 127.6 kB / 444.6 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.1308, allocations: 150.8 kB / 444.7 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004562/0.1313, allocations: 355 kB / 445.1 MB, free: 2.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.1313, allocations: 4 kB / 445.1 MB, free: 2.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1313, allocations: 3.938 kB / 445.1 MB, free: 2.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.1313, allocations: 8 kB / 445.1 MB, free: 2.328 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001031/0.1323, allocations: 0.7268 MB / 445.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.1324, allocations: 11.89 kB / 445.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.1326, allocations: 52.31 kB / 445.9 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006343/0.1332, allocations: 443.8 kB / 446.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.1332, allocations: 4.375 kB / 446.3 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.1333, allocations: 4.125 kB / 446.3 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.1335, allocations: 95.34 kB / 446.4 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1335, allocations: 0 / 446.4 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.1335, allocations: 4 kB / 446.4 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.1335, allocations: 0 / 446.4 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1336, allocations: 31.91 kB / 446.4 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.134, allocations: 378.3 kB / 446.8 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.1343, allocations: 109.2 kB / 446.9 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.992e-05/0.1344, allocations: 45.58 kB / 447 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.1344, allocations: 0 / 447 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000284/0.1347, allocations: 113 kB / 447.1 MB, free: 144 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.1347, allocations: 0 / 447.1 MB, free: 144 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005436/0.1353, allocations: 197.4 kB / 447.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.1353, allocations: 85.05 kB / 447.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.1365, allocations: 1.034 MB / 448.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1365, allocations: 29.7 kB / 448.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.1367, allocations: 236.1 kB / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.774e-05/0.1368, allocations: 23.66 kB / 448.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.1368, allocations: 29.7 kB / 448.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.137, allocations: 370.8 kB / 449.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.835e-05/0.1371, allocations: 23.98 kB / 449.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.1373, allocations: 59.41 kB / 449.1 MB, free: 14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.1375, allocations: 87.36 kB / 449.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.1375, allocations: 0 / 449.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003219/0.1378, allocations: 168.9 kB / 449.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.1378, allocations: 8 kB / 449.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.1379, allocations: 4.062 kB / 449.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.1379, allocations: 0 / 449.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.138, allocations: 31.92 kB / 449.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.1381, allocations: 0 / 449.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.1382, allocations: 7.938 kB / 449.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1382, allocations: 4 kB / 449.4 MB, free: 13.68 MB / 334.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002815/0.1385, allocations: 229.6 kB / 449.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.1386, allocations: 55.28 kB / 449.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.1387, allocations: 60 kB / 449.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1387, allocations: 4 kB / 449.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.1387, allocations: 192 / 449.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1387, allocations: 3.984 kB / 449.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.1391, allocations: 353.3 kB / 450.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1391, allocations: 0 / 450.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.1392, allocations: 8 kB / 450.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.1392, allocations: 0 / 450.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.1392, allocations: 11.92 kB / 450.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.1392, allocations: 0 / 450.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1392, allocations: 3.938 kB / 450.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.1396, allocations: 205.3 kB / 450.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.1397, allocations: 136.4 kB / 450.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.968e-05/0.1398, allocations: 4 kB / 450.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.402e-05/0.1399, allocations: 11.98 kB / 450.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.1399, allocations: 7.984 kB / 450.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.14, allocations: 4 kB / 450.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008615/0.1408, allocations: 0.7682 MB / 451.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1408, allocations: 4 kB / 451.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.1411, allocations: 47.98 kB / 451.3 MB, free: 11.68 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001124/0.1423, allocations: 422.7 kB / 451.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000293/0.1426, allocations: 87.89 kB / 451.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1426, allocations: 0 / 451.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.1427, allocations: 44.05 kB / 451.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.1432, allocations: 76.22 kB / 451.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.1445, allocations: 0.8706 MB / 452.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.145, allocations: 0.8387 MB / 453.7 MB, free: 9.379 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.1451, allocations: 54.95 kB / 453.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.1452, allocations: 31.44 kB / 453.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1452, allocations: 0 / 453.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of Templates: time 0.008701/0.1539, allocations: 3.703 MB / 457.4 MB, free: 5.598 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches