Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.001359/0.001359, allocations: 114.3 kB / 18.49 MB, free: 4.566 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.001425/0.001425, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.454/1.454, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.2276/0.2276, allocations: 46.93 MB / 357.7 MB, free: 10.15 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.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 75.88 kB / 0.4917 GB, free: 7.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1317, allocations: 66.05 MB / 0.5562 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003375/0.1351, allocations: 1.749 MB / 0.558 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.137, allocations: 1.044 MB / 0.559 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.775e-05/0.1371, allocations: 0 / 0.559 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003482/0.1374, allocations: 55.73 kB / 0.559 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.1378, allocations: 99.53 kB / 0.5591 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.138, allocations: 79.67 kB / 0.5592 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.1382, allocations: 127.7 kB / 0.5593 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1383, allocations: 15.98 kB / 0.5593 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1384, allocations: 51.77 kB / 0.5594 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.1385, allocations: 55.7 kB / 0.5594 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.1385, allocations: 12 kB / 0.5595 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.1387, allocations: 67.95 kB / 0.5595 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.1387, allocations: 23.92 kB / 0.5595 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.521e-05/0.1388, allocations: 47.67 kB / 0.5596 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.1391, allocations: 147.4 kB / 0.5597 GB, free: 1.805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1391, allocations: 3.938 kB / 0.5597 GB, free: 1.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1391, allocations: 0 / 0.5597 GB, free: 1.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1391, allocations: 0 / 0.5597 GB, free: 1.801 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007268/0.1398, allocations: 438.5 kB / 0.5601 GB, free: 1.324 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.1399, allocations: 12.03 kB / 0.5602 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.006e-05/0.1399, allocations: 4.188 kB / 0.5602 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.1399, allocations: 42.67 kB / 0.5602 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.14, allocations: 20.84 kB / 0.5602 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.1403, allocations: 232.1 kB / 0.5604 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.1404, allocations: 8.312 kB / 0.5605 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.1404, allocations: 4.375 kB / 0.5605 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.1406, allocations: 73.59 kB / 0.5605 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1406, allocations: 0 / 0.5605 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1406, allocations: 4 kB / 0.5605 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1406, allocations: 7.938 kB / 0.5605 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.1408, allocations: 43.97 kB / 0.5606 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.1412, allocations: 316.7 kB / 0.5609 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.1415, allocations: 74.55 kB / 0.561 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.474e-05/0.1416, allocations: 32.84 kB / 0.561 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1416, allocations: 4 kB / 0.561 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.1418, allocations: 83.41 kB / 0.5611 GB, free: 260 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.1418, allocations: 0 / 0.5611 GB, free: 260 kB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008894/0.1427, allocations: 301.5 kB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.1427, allocations: 55.41 kB / 0.5614 GB, free: 15.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.1429, allocations: 201.9 kB / 0.5616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.143, allocations: 25.7 kB / 0.5616 GB, free: 15.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.143, allocations: 104.4 kB / 0.5617 GB, free: 15.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.157e-05/0.1431, allocations: 47.64 kB / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.1432, allocations: 29.72 kB / 0.5618 GB, free: 15.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1433, allocations: 326.8 kB / 0.5621 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.634e-05/0.1434, allocations: 35.98 kB / 0.5621 GB, free: 15.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.1435, allocations: 59.89 kB / 0.5622 GB, free: 15.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.1437, allocations: 100.4 kB / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1437, allocations: 4 kB / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000278/0.144, allocations: 161.5 kB / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.144, allocations: 6.031 kB / 0.5625 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.144, allocations: 0 / 0.5625 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.144, allocations: 0 / 0.5625 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.731e-05/0.1441, allocations: 27.92 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1441, allocations: 11.97 kB / 0.5625 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.473e-05/0.1442, allocations: 7.938 kB / 0.5625 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1442, allocations: 4 kB / 0.5625 GB, free: 14.71 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 (15): * Single equations (assignments): 15 * 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.0001211/0.1443, allocations: 129.8 kB / 0.5626 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-05/0.1444, allocations: 15.91 kB / 0.5626 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.1444, allocations: 21.52 kB / 0.5627 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1444, allocations: 4 kB / 0.5627 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.1444, allocations: 7.922 kB / 0.5627 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1444, allocations: 4 kB / 0.5627 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006259/0.145, allocations: 491.9 kB / 0.5632 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1451, allocations: 3.984 kB / 0.5632 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.707e-05/0.1451, allocations: 19.98 kB / 0.5632 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1451, allocations: 0 / 0.5632 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.1451, allocations: 11.94 kB / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1451, allocations: 0 / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1451, allocations: 4 kB / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.1454, allocations: 257.1 kB / 0.5634 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.278e-05/0.1455, allocations: 93.02 kB / 0.5635 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.1455, allocations: 3.984 kB / 0.5635 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.1456, allocations: 4 kB / 0.5635 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.1456, allocations: 15.98 kB / 0.5635 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.1457, allocations: 8 kB / 0.5636 GB, free: 13.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002148/0.1459, allocations: 148.3 kB / 0.5637 GB, free: 13.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1459, allocations: 0 / 0.5637 GB, free: 13.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.1462, allocations: 31.94 kB / 0.5637 GB, free: 13.35 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.00246/0.1486, allocations: 1.2 MB / 0.5649 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.1489, allocations: 91.89 kB / 0.565 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1489, allocations: 0 / 0.565 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.79e-05/0.149, allocations: 43.92 kB / 0.565 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1493, allocations: 30.8 kB / 0.5651 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.1515, allocations: 1.87 MB / 0.5669 GB, free: 10.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.1519, allocations: 0.72 MB / 0.5676 GB, free: 9.422 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.785e-05/0.152, allocations: 29.39 kB / 0.5676 GB, free: 9.395 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.268e-05/0.1521, allocations: 47.42 kB / 0.5677 GB, free: 9.348 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1521, allocations: 0 / 0.5677 GB, free: 9.348 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.1723, allocations: 4.094 MB / 0.5717 GB, free: 5.328 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.265, allocations: 7.844 kB / 0.5717 GB, free: 5.324 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.398945543973241]