Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001233/0.001233, allocations: 121.8 kB / 18.5 MB, free: 4.578 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.001345/0.001345, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.508/1.508, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.3397/0.3397, allocations: 46.9 MB / 357.4 MB, free: 10.49 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.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 87.84 kB / 0.4913 GB, free: 8.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1328, allocations: 65.99 MB / 0.5558 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003251/0.1361, allocations: 1.74 MB / 0.5575 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1379, allocations: 1.057 MB / 0.5585 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.388e-05/0.1379, allocations: 0 / 0.5585 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.1382, allocations: 35.77 kB / 0.5585 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.1385, allocations: 95.55 kB / 0.5586 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.1388, allocations: 83.66 kB / 0.5587 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.139, allocations: 107.7 kB / 0.5588 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.954e-05/0.1391, allocations: 15.97 kB / 0.5588 GB, free: 3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1392, allocations: 51.77 kB / 0.5589 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.251e-05/0.1393, allocations: 39.78 kB / 0.5589 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.1393, allocations: 8 kB / 0.5589 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.1395, allocations: 111.9 kB / 0.559 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.006e-05/0.1395, allocations: 19.92 kB / 0.5591 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.1396, allocations: 39.67 kB / 0.5591 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.1399, allocations: 171.4 kB / 0.5593 GB, free: 2.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1399, allocations: 7.984 kB / 0.5593 GB, free: 2.559 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1399, allocations: 4 kB / 0.5593 GB, free: 2.555 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.1399, allocations: 0 / 0.5593 GB, free: 2.555 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.000651/0.1406, allocations: 434.5 kB / 0.5597 GB, free: 2.082 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1406, allocations: 8.031 kB / 0.5597 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.1406, allocations: 34.75 kB / 0.5597 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.1407, allocations: 8.891 kB / 0.5597 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.141, allocations: 220.1 kB / 0.5599 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.141, allocations: 384 / 0.5599 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.141, allocations: 12.38 kB / 0.5599 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1412, allocations: 71.45 kB / 0.56 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1412, allocations: 4 kB / 0.56 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1412, allocations: 4 kB / 0.56 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1412, allocations: 0 / 0.56 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.496e-05/0.1413, allocations: 15.98 kB / 0.56 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.1417, allocations: 288.8 kB / 0.5603 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.1419, allocations: 62.61 kB / 0.5604 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.126e-05/0.142, allocations: 24.97 kB / 0.5604 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.142, allocations: 0 / 0.5604 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.1422, allocations: 71.33 kB / 0.5605 GB, free: 1.141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.1422, allocations: 4 kB / 0.5605 GB, free: 1.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006075/0.1428, allocations: 213.2 kB / 0.5607 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.1429, allocations: 77.11 kB / 0.5607 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.143, allocations: 170.1 kB / 0.5609 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1431, allocations: 29.7 kB / 0.5609 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.284e-05/0.1431, allocations: 96.12 kB / 0.561 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.1432, allocations: 35.69 kB / 0.5611 GB, free: 492 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.1432, allocations: 33.7 kB / 0.5611 GB, free: 452 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1433, allocations: 330.8 kB / 0.5614 GB, free: 112 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-05/0.1434, allocations: 27.98 kB / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.869e-05/0.1435, allocations: 53.81 kB / 0.5615 GB, free: 24 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.1437, allocations: 85.56 kB / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1437, allocations: 0 / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002904/0.144, allocations: 125.6 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.144, allocations: 4 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.144, allocations: 0 / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.144, allocations: 3.984 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1441, allocations: 27.92 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1441, allocations: 0 / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.1442, allocations: 4 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1442, allocations: 3.938 kB / 0.5617 GB, free: 15.76 MB / 430.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 (13): * Single equations (assignments): 13 * 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.0001085/0.1443, allocations: 131.3 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.1443, allocations: 15.91 kB / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/0.1444, allocations: 12.72 kB / 0.5619 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1444, allocations: 4 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1444, allocations: 0 / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1444, allocations: 0 / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005476/0.1449, allocations: 435.2 kB / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1449, allocations: 0 / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.145, allocations: 19.97 kB / 0.5623 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.145, allocations: 7.938 kB / 0.5623 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.145, allocations: 0 / 0.5623 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.145, allocations: 0 / 0.5623 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.145, allocations: 4 kB / 0.5623 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.1453, allocations: 220.3 kB / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.1453, allocations: 81.06 kB / 0.5626 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.1454, allocations: 11.94 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.1455, allocations: 7.984 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.1456, allocations: 4 kB / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.1456, allocations: 4 kB / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001604/0.1457, allocations: 135.1 kB / 0.5628 GB, free: 14.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1457, allocations: 0 / 0.5628 GB, free: 14.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003259/0.1461, allocations: 55.81 kB / 0.5628 GB, free: 14.53 MB / 430.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 (10): * Single equations (assignments): 8 * 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.002589/0.1486, allocations: 1.195 MB / 0.564 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.1489, allocations: 75.91 kB / 0.5641 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1489, allocations: 0 / 0.5641 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.149, allocations: 31.98 kB / 0.5641 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.1494, allocations: 26.78 kB / 0.5641 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.1517, allocations: 1.68 MB / 0.5658 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.1521, allocations: 0.7006 MB / 0.5665 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.867e-05/0.1522, allocations: 32.39 kB / 0.5665 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.795e-05/0.1523, allocations: 39.64 kB / 0.5665 GB, free: 10.8 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1523, allocations: 0 / 0.5665 GB, free: 10.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.1781, allocations: 4.268 MB / 0.5707 GB, free: 6.562 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.279, allocations: 11.27 kB / 0.5707 GB, free: 6.555 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.429799238685519]