Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 119 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 194.9 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2215/0.2215, allocations: 44.92 MB / 349.6 MB, free: 1.754 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 69.72 kB / 491.9 MB, free: 29.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1325, allocations: 64.27 MB / 0.5431 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003525/0.1361, allocations: 1.714 MB / 0.5448 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.1385, allocations: 1.495 MB / 0.5462 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.677e-05/0.1386, allocations: 4 kB / 0.5462 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.1389, allocations: 39.77 kB / 0.5463 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.1392, allocations: 63.69 kB / 0.5463 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.1395, allocations: 107.6 kB / 0.5464 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.1397, allocations: 99.67 kB / 0.5465 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1398, allocations: 12.52 kB / 0.5465 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1399, allocations: 43.78 kB / 0.5466 GB, free: 468 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.1401, allocations: 31.84 kB / 0.5466 GB, free: 436 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.1401, allocations: 4 kB / 0.5466 GB, free: 432 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.1402, allocations: 59.97 kB / 0.5467 GB, free: 372 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.1403, allocations: 27.91 kB / 0.5467 GB, free: 344 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.1404, allocations: 31.75 kB / 0.5467 GB, free: 312 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.1407, allocations: 123.5 kB / 0.5468 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1407, allocations: 0 / 0.5468 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1407, allocations: 0 / 0.5468 GB, free: 188 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.1407, allocations: 0 / 0.5468 GB, free: 188 kB / 398.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.000745/0.1414, allocations: 406.8 kB / 0.5472 GB, free: 15.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.1415, allocations: 15.97 kB / 0.5472 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.558e-05/0.1415, allocations: 34.75 kB / 0.5473 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.1416, allocations: 12.89 kB / 0.5473 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.1419, allocations: 204.2 kB / 0.5475 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.1419, allocations: 8.375 kB / 0.5475 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.1419, allocations: 7.875 kB / 0.5475 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.1421, allocations: 67.39 kB / 0.5476 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1421, allocations: 0 / 0.5476 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1422, allocations: 0 / 0.5476 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.1422, allocations: 4 kB / 0.5476 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.651e-05/0.1422, allocations: 23.92 kB / 0.5476 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.1427, allocations: 284.9 kB / 0.5479 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.1429, allocations: 58.61 kB / 0.5479 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.1429, allocations: 16.86 kB / 0.5479 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.1429, allocations: 11.98 kB / 0.5479 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.1431, allocations: 63.39 kB / 0.548 GB, free: 14.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1431, allocations: 0 / 0.548 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005724/0.1437, allocations: 169.3 kB / 0.5482 GB, free: 14.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.1438, allocations: 81.09 kB / 0.5482 GB, free: 14.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.144, allocations: 151.7 kB / 0.5484 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.144, allocations: 29.7 kB / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.096e-05/0.1441, allocations: 100.1 kB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.1441, allocations: 23.84 kB / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.1441, allocations: 29.64 kB / 0.5486 GB, free: 14.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.1443, allocations: 322.8 kB / 0.5489 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.946e-05/0.1444, allocations: 16 kB / 0.5489 GB, free: 13.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.68e-05/0.1445, allocations: 42.56 kB / 0.5489 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.1446, allocations: 61.73 kB / 0.549 GB, free: 13.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1446, allocations: 0 / 0.549 GB, free: 13.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002124/0.1448, allocations: 97.58 kB / 0.5491 GB, free: 13.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.1448, allocations: 7.984 kB / 0.5491 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1448, allocations: 0 / 0.5491 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1448, allocations: 4 kB / 0.5491 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.217e-05/0.1449, allocations: 12 kB / 0.5491 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1449, allocations: 7.875 kB / 0.5491 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.51e-05/0.145, allocations: 15.97 kB / 0.5491 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.145, allocations: 3.984 kB / 0.5491 GB, free: 13.58 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.0001273/0.1451, allocations: 121.8 kB / 0.5492 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.1452, allocations: 11.91 kB / 0.5493 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.1452, allocations: 12.72 kB / 0.5493 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1452, allocations: 3.984 kB / 0.5493 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1452, allocations: 0 / 0.5493 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.1452, allocations: 7.938 kB / 0.5493 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.1457, allocations: 391.3 kB / 0.5497 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1457, allocations: 4 kB / 0.5497 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.1458, allocations: 8.375 kB / 0.5497 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1458, allocations: 4.125 kB / 0.5497 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.1458, allocations: 7.984 kB / 0.5497 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1458, allocations: 3.938 kB / 0.5497 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.1458, allocations: 4 kB / 0.5497 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.1461, allocations: 200.3 kB / 0.5499 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.1461, allocations: 85.06 kB / 0.55 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.1461, allocations: 7.938 kB / 0.55 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.1462, allocations: 7.984 kB / 0.55 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.1463, allocations: 4 kB / 0.55 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.1463, allocations: 4 kB / 0.55 GB, free: 12.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.1464, allocations: 117.3 kB / 0.5501 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1464, allocations: 0 / 0.5501 GB, free: 12.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1467, allocations: 35.92 kB / 0.5501 GB, free: 12.45 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.002504/0.1492, allocations: 1.14 MB / 0.5512 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.1494, allocations: 55.91 kB / 0.5513 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1494, allocations: 4.062 kB / 0.5513 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.508e-05/0.1495, allocations: 23.98 kB / 0.5513 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1498, allocations: 31.91 kB / 0.5513 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.1518, allocations: 1.547 MB / 0.5529 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.1523, allocations: 0.7079 MB / 0.5536 GB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.43e-05/0.1523, allocations: 16.86 kB / 0.5536 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.913e-05/0.1524, allocations: 31.42 kB / 0.5536 GB, free: 8.969 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1524, allocations: 0 / 0.5536 GB, free: 8.969 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0304/0.1828, allocations: 3.576 MB / 0.5571 GB, free: 5.379 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.11, allocations: 12.62 kB / 0.5571 GB, free: 5.367 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.195946377236396]