Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.001862/0.001862, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.001418/0.001418, allocations: 212.7 kB / 21.46 MB, free: 1.605 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.4 MB / 254.7 MB, free: 15.02 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.226/0.226, allocations: 46.92 MB / 357.7 MB, free: 10.18 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.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 79.88 kB / 0.4917 GB, free: 7.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1319, allocations: 66.03 MB / 0.5562 GB, free: 5.457 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003939/0.1358, allocations: 1.985 MB / 0.5582 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.1379, allocations: 1.204 MB / 0.5593 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.138, allocations: 3.938 kB / 0.5593 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007441/0.1387, allocations: 198 kB / 0.5595 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004937/0.1392, allocations: 207.2 kB / 0.5597 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.1396, allocations: 155.6 kB / 0.5599 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.14, allocations: 275.1 kB / 0.5601 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1401, allocations: 16.31 kB / 0.5601 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1402, allocations: 119.5 kB / 0.5603 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.1404, allocations: 123.4 kB / 0.5604 GB, free: 1.168 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.1404, allocations: 12 kB / 0.5604 GB, free: 1.156 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.1406, allocations: 59.95 kB / 0.5604 GB, free: 1.098 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.039e-05/0.1407, allocations: 55.78 kB / 0.5605 GB, free: 1.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.904e-05/0.1408, allocations: 87.39 kB / 0.5606 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003547/0.1411, allocations: 242.9 kB / 0.5608 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.1411, allocations: 4 kB / 0.5608 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1411, allocations: 0 / 0.5608 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.1411, allocations: 0 / 0.5608 GB, free: 0.7148 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008946/0.142, allocations: 0.5659 MB / 0.5614 GB, free: 96 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1421, allocations: 12.03 kB / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.879e-05/0.1421, allocations: 192 / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.1421, allocations: 38.73 kB / 0.5614 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.1422, allocations: 24.8 kB / 0.5614 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.1426, allocations: 295.7 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1426, allocations: 4.375 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.1426, allocations: 8.375 kB / 0.5617 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.1429, allocations: 108.1 kB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1429, allocations: 0 / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1429, allocations: 4 kB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1429, allocations: 4 kB / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.143, allocations: 43.89 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.1436, allocations: 381.5 kB / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.1439, allocations: 113.2 kB / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.144, allocations: 45.7 kB / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.1441, allocations: 4 kB / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.1443, allocations: 109 kB / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.1443, allocations: 0 / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.000539/0.1448, allocations: 189.9 kB / 0.5627 GB, free: 14.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.1449, allocations: 102.8 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.1454, allocations: 355.3 kB / 0.5631 GB, free: 14.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.1454, allocations: 33.7 kB / 0.5632 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.1455, allocations: 144.2 kB / 0.5633 GB, free: 13.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.1456, allocations: 31.75 kB / 0.5633 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-05/0.1456, allocations: 33.7 kB / 0.5634 GB, free: 13.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.1458, allocations: 338.8 kB / 0.5637 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.492e-05/0.1459, allocations: 35.98 kB / 0.5637 GB, free: 13.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1461, allocations: 78.39 kB / 0.5638 GB, free: 13.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.1463, allocations: 91.39 kB / 0.5639 GB, free: 13.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1463, allocations: 3.938 kB / 0.5639 GB, free: 13.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002957/0.1466, allocations: 149.5 kB / 0.564 GB, free: 13.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1466, allocations: 8 kB / 0.564 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1466, allocations: 3.938 kB / 0.564 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1466, allocations: 3.938 kB / 0.564 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.1467, allocations: 23.98 kB / 0.5641 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1467, allocations: 0 / 0.5641 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.03e-05/0.1468, allocations: 19.95 kB / 0.5641 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.1469, allocations: 4 kB / 0.5641 GB, free: 13.05 MB / 430.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * 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.0001698/0.147, allocations: 157.9 kB / 0.5642 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.646e-05/0.1471, allocations: 27.81 kB / 0.5643 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.97e-05/0.1472, allocations: 29.83 kB / 0.5643 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1472, allocations: 4 kB / 0.5643 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1472, allocations: 0 / 0.5643 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.1472, allocations: 4 kB / 0.5643 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.1475, allocations: 253.5 kB / 0.5645 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1475, allocations: 8 kB / 0.5646 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.123e-05/0.1475, allocations: 4 kB / 0.5646 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.1475, allocations: 4 kB / 0.5646 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.1475, allocations: 7.984 kB / 0.5646 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1475, allocations: 0 / 0.5646 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1475, allocations: 0 / 0.5646 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.1479, allocations: 189.6 kB / 0.5647 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-05/0.148, allocations: 96.97 kB / 0.5648 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.148, allocations: 11.98 kB / 0.5649 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.1481, allocations: 4 kB / 0.5649 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.1482, allocations: 11.98 kB / 0.5649 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.1482, allocations: 4 kB / 0.5649 GB, free: 12.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003198/0.1485, allocations: 265.9 kB / 0.5651 GB, free: 11.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1485, allocations: 0 / 0.5651 GB, free: 11.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.1488, allocations: 43.92 kB / 0.5652 GB, free: 11.84 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.002121/0.1509, allocations: 1.025 MB / 0.5662 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.1512, allocations: 79.91 kB / 0.5662 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1512, allocations: 4.125 kB / 0.5662 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.1513, allocations: 51.84 kB / 0.5663 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.1518, allocations: 62.89 kB / 0.5664 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/0.1549, allocations: 2.356 MB / 0.5687 GB, free: 8.273 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.1553, allocations: 0.748 MB / 0.5694 GB, free: 7.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.1554, allocations: 33.92 kB / 0.5694 GB, free: 7.469 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.1555, allocations: 71.42 kB / 0.5695 GB, free: 7.402 MB / 430.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1555, allocations: 0 / 0.5695 GB, free: 7.402 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.178, allocations: 5.864 MB / 0.5752 GB, free: 1.613 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/8.416, allocations: 4.062 kB / 0.5752 GB, free: 1.609 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.543516895035282]