Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001728, allocations: 101 kB / 16.26 MB, free: 5.977 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.001901/0.001902, allocations: 195.4 kB / 17.2 MB, free: 5.609 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.741/1.741, allocations: 205.1 MB / 223.1 MB, free: 12.16 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.2339/0.2339, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.001468/0.001469, allocations: 69.95 kB / 382.7 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.124, allocations: 57.79 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003134/0.1272, allocations: 1.78 MB / 442.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1284, allocations: 0.8724 MB / 443.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.168e-05/0.1285, allocations: 3.938 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005026/0.129, allocations: 311.3 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002989/0.1293, allocations: 207.3 kB / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.1297, allocations: 143.4 kB / 443.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.1299, allocations: 243.4 kB / 444.1 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.191e-05/0.13, allocations: 17.53 kB / 444.1 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.1301, allocations: 123.6 kB / 444.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.1303, allocations: 191.5 kB / 444.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.1303, allocations: 4 kB / 444.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.952e-05/0.1304, allocations: 51.97 kB / 444.5 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1305, allocations: 127.6 kB / 444.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.1307, allocations: 146.8 kB / 444.7 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.131, allocations: 359 kB / 445.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.131, allocations: 0 / 445.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.131, allocations: 4 kB / 445.1 MB, free: 2.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1311, allocations: 0 / 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.001004/0.1321, allocations: 0.7384 MB / 445.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.1321, allocations: 11.89 kB / 445.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.1322, allocations: 44.38 kB / 445.9 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/0.1329, allocations: 447.8 kB / 446.3 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.1329, allocations: 384 / 446.3 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.133, allocations: 8.125 kB / 446.3 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.1332, allocations: 91.34 kB / 446.4 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1333, allocations: 0 / 446.4 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.1333, allocations: 3.938 kB / 446.4 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1333, allocations: 7.938 kB / 446.4 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.1335, allocations: 31.97 kB / 446.4 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.1339, allocations: 370.4 kB / 446.8 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.1343, allocations: 109.2 kB / 446.9 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.1344, allocations: 45.62 kB / 447 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1345, allocations: 7.938 kB / 447 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002938/0.1348, allocations: 109 kB / 447.1 MB, free: 136 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.1348, allocations: 0 / 447.1 MB, free: 136 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006151/0.1354, allocations: 197.1 kB / 447.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.1355, allocations: 81.11 kB / 447.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/0.1372, allocations: 1.034 MB / 448.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.1372, allocations: 33.7 kB / 448.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/0.1375, allocations: 232.1 kB / 448.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.856e-05/0.1376, allocations: 23.66 kB / 448.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.204e-05/0.1377, allocations: 33.7 kB / 448.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.1379, allocations: 362.8 kB / 449 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.138, allocations: 27.98 kB / 449.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.1382, allocations: 63.41 kB / 449.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.1384, allocations: 91.86 kB / 449.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1385, allocations: 0 / 449.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004613/0.1389, allocations: 168.9 kB / 449.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.139, allocations: 8.062 kB / 449.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.139, allocations: 4 kB / 449.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.139, allocations: 3.938 kB / 449.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.1392, allocations: 23.98 kB / 449.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.1393, allocations: 7.984 kB / 449.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.1394, allocations: 7.938 kB / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.1394, allocations: 4 kB / 449.4 MB, free: 13.66 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.0004544/0.1399, allocations: 233.6 kB / 449.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.916e-05/0.14, allocations: 47.34 kB / 449.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.1401, allocations: 64 kB / 449.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.1402, allocations: 4 kB / 449.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.1402, allocations: 0 / 449.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1402, allocations: 0 / 449.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.1407, allocations: 345.4 kB / 450.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1407, allocations: 3.938 kB / 450.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.604e-05/0.1408, allocations: 4 kB / 450.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1408, allocations: 4 kB / 450.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.1408, allocations: 3.984 kB / 450.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1408, allocations: 4.125 kB / 450.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/0.1408, allocations: 8 kB / 450.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004953/0.1414, allocations: 205.1 kB / 450.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.1416, allocations: 140.4 kB / 450.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.737e-05/0.1417, allocations: 0 / 450.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.1418, allocations: 11.98 kB / 450.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.678e-05/0.1419, allocations: 7.984 kB / 450.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.1419, allocations: 8 kB / 450.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001328/0.1433, allocations: 0.7682 MB / 451.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1433, allocations: 0 / 451.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005038/0.1438, allocations: 47.98 kB / 451.3 MB, free: 11.67 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.001584/0.1454, allocations: 418.2 kB / 451.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000418/0.1458, allocations: 91.89 kB / 451.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1459, allocations: 4.125 kB / 451.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.146, allocations: 43.86 kB / 451.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.1467, allocations: 75.66 kB / 452 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.1484, allocations: 0.8628 MB / 452.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006751/0.1491, allocations: 0.8466 MB / 453.7 MB, free: 9.367 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001884/0.1493, allocations: 58.94 kB / 453.7 MB, free: 9.312 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.1494, allocations: 31.44 kB / 453.8 MB, free: 9.281 MB / 334.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1494, allocations: 0 / 453.8 MB, free: 9.281 MB / 334.1 MB Notification: Performance of Templates: time 0.0152/0.1646, allocations: 3.7 MB / 457.5 MB, free: 5.586 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches