Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.56/1.56, allocations: 230.2 MB / 254.5 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2345/0.2345, allocations: 46.89 MB / 357.4 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 78.66 kB / 0.4913 GB, free: 26.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1313, allocations: 65.97 MB / 0.5558 GB, free: 9.008 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.005056/0.1363, allocations: 1.74 MB / 0.5575 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003184/0.1395, allocations: 1.038 MB / 0.5585 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.261e-05/0.1396, allocations: 0 / 0.5585 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.14, allocations: 47.7 kB / 0.5585 GB, free: 6.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005082/0.1405, allocations: 95.59 kB / 0.5586 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.1408, allocations: 79.67 kB / 0.5587 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.1411, allocations: 95.75 kB / 0.5588 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1412, allocations: 16.27 kB / 0.5588 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.1413, allocations: 39.8 kB / 0.5588 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.1414, allocations: 43.7 kB / 0.5589 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.1415, allocations: 4 kB / 0.5589 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.1416, allocations: 43.98 kB / 0.5589 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.114e-05/0.1417, allocations: 19.92 kB / 0.5589 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.768e-05/0.1418, allocations: 43.73 kB / 0.559 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.1421, allocations: 111.5 kB / 0.5591 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1421, allocations: 0 / 0.5591 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1421, allocations: 4 kB / 0.5591 GB, free: 5.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1421, allocations: 3.938 kB / 0.5591 GB, free: 5.57 MB / 414.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.0008149/0.1429, allocations: 429.5 kB / 0.5595 GB, free: 5.105 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1429, allocations: 8.031 kB / 0.5595 GB, free: 5.098 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.987e-05/0.143, allocations: 38.73 kB / 0.5596 GB, free: 5.051 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.82e-05/0.1431, allocations: 8.891 kB / 0.5596 GB, free: 5.043 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.1435, allocations: 216.8 kB / 0.5598 GB, free: 4.793 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1435, allocations: 384 / 0.5598 GB, free: 4.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.1435, allocations: 4.375 kB / 0.5598 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.1438, allocations: 61.73 kB / 0.5598 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.1438, allocations: 0 / 0.5598 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1438, allocations: 0 / 0.5598 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1438, allocations: 4 kB / 0.5598 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.1439, allocations: 19.98 kB / 0.5599 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.1444, allocations: 292.9 kB / 0.5601 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.1447, allocations: 58.59 kB / 0.5602 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1449, allocations: 16.86 kB / 0.5602 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.1449, allocations: 0 / 0.5602 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.1451, allocations: 79.38 kB / 0.5603 GB, free: 4.188 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.1451, allocations: 0 / 0.5603 GB, free: 4.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007488/0.1459, allocations: 177.3 kB / 0.5605 GB, free: 4.008 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.1459, allocations: 51.41 kB / 0.5605 GB, free: 3.945 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003154/0.1462, allocations: 190.4 kB / 0.5607 GB, free: 3.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.1463, allocations: 29.7 kB / 0.5607 GB, free: 3.715 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.684e-05/0.1464, allocations: 100.1 kB / 0.5608 GB, free: 3.613 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.1464, allocations: 27.78 kB / 0.5608 GB, free: 3.586 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/0.1465, allocations: 25.72 kB / 0.5609 GB, free: 3.555 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002331/0.1467, allocations: 334.7 kB / 0.5612 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.1468, allocations: 19.98 kB / 0.5612 GB, free: 3.199 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1469, allocations: 37.64 kB / 0.5612 GB, free: 3.156 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.1472, allocations: 65.69 kB / 0.5613 GB, free: 3.086 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1472, allocations: 0 / 0.5613 GB, free: 3.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003144/0.1475, allocations: 101.5 kB / 0.5614 GB, free: 2.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1475, allocations: 4 kB / 0.5614 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1475, allocations: 4 kB / 0.5614 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1475, allocations: 0 / 0.5614 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.1477, allocations: 15.98 kB / 0.5614 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1477, allocations: 0 / 0.5614 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.933e-05/0.1478, allocations: 8 kB / 0.5614 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.1478, allocations: 4 kB / 0.5614 GB, free: 2.945 MB / 414.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 0.000166/0.1479, allocations: 135.4 kB / 0.5616 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.148, allocations: 15.91 kB / 0.5616 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.885e-05/0.148, allocations: 17.56 kB / 0.5616 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.148, allocations: 0 / 0.5616 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1481, allocations: 0 / 0.5616 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.1481, allocations: 3.984 kB / 0.5616 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007167/0.1488, allocations: 403.2 kB / 0.562 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1488, allocations: 0 / 0.562 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.219e-05/0.1488, allocations: 8.031 kB / 0.562 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1488, allocations: 4 kB / 0.562 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.1489, allocations: 7.984 kB / 0.562 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.1489, allocations: 3.938 kB / 0.562 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1489, allocations: 384 / 0.562 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.1492, allocations: 196.3 kB / 0.5622 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.877e-05/0.1493, allocations: 89.02 kB / 0.5623 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.1493, allocations: 7.938 kB / 0.5623 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.1495, allocations: 11.94 kB / 0.5623 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.1495, allocations: 11.98 kB / 0.5623 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.1496, allocations: 7.938 kB / 0.5623 GB, free: 1.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002108/0.1498, allocations: 149.5 kB / 0.5624 GB, free: 1.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1498, allocations: 0 / 0.5624 GB, free: 1.785 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004735/0.1502, allocations: 20 kB / 0.5625 GB, free: 1.766 MB / 414.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.003112/0.1534, allocations: 1.085 MB / 0.5635 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.1536, allocations: 55.92 kB / 0.5636 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1536, allocations: 0 / 0.5636 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.1537, allocations: 31.92 kB / 0.5636 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.1542, allocations: 32.16 kB / 0.5636 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.1566, allocations: 1.67 MB / 0.5653 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.1571, allocations: 0.7002 MB / 0.566 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.262e-05/0.1571, allocations: 16.88 kB / 0.566 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.314e-05/0.1572, allocations: 35.42 kB / 0.566 GB, free: 14.16 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1572, allocations: 0 / 0.566 GB, free: 14.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.1828, allocations: 3.483 MB / 0.5694 GB, free: 10.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/8.281, allocations: 10.45 kB / 0.5694 GB, free: 10.74 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.452396328095347]