Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.001347/0.001347, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.00146/0.00146, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.438/1.438, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.2245/0.2245, allocations: 46.92 MB / 357.7 MB, free: 10.21 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.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 84.16 kB / 0.4917 GB, free: 7.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1316, allocations: 66.05 MB / 0.5563 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.00336/0.1349, allocations: 1.755 MB / 0.558 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1368, allocations: 1.036 MB / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.015e-05/0.1368, allocations: 8 kB / 0.559 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.1372, allocations: 87.67 kB / 0.5591 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.1375, allocations: 119.5 kB / 0.5592 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.1378, allocations: 83.67 kB / 0.5593 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.138, allocations: 123.7 kB / 0.5594 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.744e-05/0.1381, allocations: 15.98 kB / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.1382, allocations: 59.75 kB / 0.5595 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.1384, allocations: 75.67 kB / 0.5595 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1384, allocations: 4 kB / 0.5595 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.1385, allocations: 59.98 kB / 0.5596 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.1386, allocations: 27.92 kB / 0.5596 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.561e-05/0.1386, allocations: 47.59 kB / 0.5597 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.1389, allocations: 135.4 kB / 0.5598 GB, free: 1.805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1389, allocations: 3.938 kB / 0.5598 GB, free: 1.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1389, allocations: 0 / 0.5598 GB, free: 1.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1389, allocations: 0 / 0.5598 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006122/0.1395, allocations: 450.4 kB / 0.5602 GB, free: 1.312 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1395, allocations: 8.031 kB / 0.5602 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.526e-05/0.1396, allocations: 8.188 kB / 0.5602 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.1396, allocations: 34.73 kB / 0.5603 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.1396, allocations: 12.84 kB / 0.5603 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.14, allocations: 221.5 kB / 0.5605 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.14, allocations: 384 / 0.5605 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.14, allocations: 8.375 kB / 0.5605 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.1402, allocations: 69.53 kB / 0.5606 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1402, allocations: 0 / 0.5606 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.1402, allocations: 4 kB / 0.5606 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1402, allocations: 0 / 0.5606 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.507e-05/0.1403, allocations: 27.97 kB / 0.5606 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.1407, allocations: 304.7 kB / 0.5609 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.1409, allocations: 62.48 kB / 0.5609 GB, free: 464 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.891e-05/0.141, allocations: 20.98 kB / 0.561 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.141, allocations: 4 kB / 0.561 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.1411, allocations: 71.38 kB / 0.561 GB, free: 352 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.1411, allocations: 0 / 0.561 GB, free: 352 kB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007708/0.1419, allocations: 241.3 kB / 0.5613 GB, free: 104 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.142, allocations: 55.34 kB / 0.5613 GB, free: 36 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.1422, allocations: 242 kB / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.1423, allocations: 41.62 kB / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/0.1423, allocations: 104.1 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.1424, allocations: 39.73 kB / 0.5617 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.1424, allocations: 25.7 kB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1426, allocations: 326.8 kB / 0.5621 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.529e-05/0.1426, allocations: 31.98 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.894e-05/0.1427, allocations: 37.7 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.1429, allocations: 81.7 kB / 0.5622 GB, free: 15.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1429, allocations: 0 / 0.5622 GB, free: 15.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002339/0.1431, allocations: 133.6 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1431, allocations: 8 kB / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1431, allocations: 0 / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1432, allocations: 0 / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.065e-05/0.1432, allocations: 23.92 kB / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1433, allocations: 12.67 kB / 0.5624 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.1433, allocations: 7.938 kB / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1433, allocations: 4 kB / 0.5624 GB, free: 14.89 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.0001141/0.1434, allocations: 129.8 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.1435, allocations: 15.91 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.1435, allocations: 21.39 kB / 0.5626 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1435, allocations: 0 / 0.5626 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1435, allocations: 3.938 kB / 0.5626 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1435, allocations: 0 / 0.5626 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/0.1441, allocations: 460 kB / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1441, allocations: 3.938 kB / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.1441, allocations: 12 kB / 0.563 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1441, allocations: 4 kB / 0.563 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.1442, allocations: 4 kB / 0.563 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.1442, allocations: 7.984 kB / 0.563 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1442, allocations: 3.938 kB / 0.563 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.1445, allocations: 237.2 kB / 0.5633 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.1445, allocations: 92.95 kB / 0.5633 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.1445, allocations: 8 kB / 0.5634 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.478e-05/0.1446, allocations: 3.984 kB / 0.5634 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.1447, allocations: 8 kB / 0.5634 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.1447, allocations: 11.98 kB / 0.5634 GB, free: 13.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.1448, allocations: 172.4 kB / 0.5635 GB, free: 13.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1448, allocations: 0 / 0.5635 GB, free: 13.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1451, allocations: 35.86 kB / 0.5636 GB, free: 13.56 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 (11): * Single equations (assignments): 9 * 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.002459/0.1476, allocations: 1.165 MB / 0.5647 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.1478, allocations: 79.84 kB / 0.5648 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.1478, allocations: 4 kB / 0.5648 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.056e-05/0.1479, allocations: 39.92 kB / 0.5648 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.1483, allocations: 27.73 kB / 0.5649 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.1506, allocations: 1.846 MB / 0.5667 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.151, allocations: 0.7275 MB / 0.5674 GB, free: 9.707 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.6e-05/0.1511, allocations: 12.64 kB / 0.5674 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.823e-05/0.1512, allocations: 47.41 kB / 0.5674 GB, free: 9.645 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1512, allocations: 0 / 0.5674 GB, free: 9.645 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.1723, allocations: 4.018 MB / 0.5713 GB, free: 5.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.221, allocations: 8.719 kB / 0.5714 GB, free: 5.691 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.306839853001293]