Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.001295/0.001295, allocations: 116.8 kB / 18.5 MB, free: 4.434 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.001364/0.001364, allocations: 189.2 kB / 21.44 MB, free: 1.504 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.467/1.467, allocations: 225.6 MB / 249.8 MB, free: 3.605 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.2257/0.2257, allocations: 44.91 MB / 349.6 MB, free: 1.723 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.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 66.08 kB / 491.9 MB, free: 30.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1347, allocations: 64.26 MB / 0.5431 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.004335/0.1391, allocations: 1.719 MB / 0.5448 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.1412, allocations: 0.8885 MB / 0.5456 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1413, allocations: 7.938 kB / 0.5456 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004441/0.1418, allocations: 51.75 kB / 0.5457 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.1421, allocations: 55.7 kB / 0.5457 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.1424, allocations: 115.6 kB / 0.5459 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.1426, allocations: 95.75 kB / 0.5459 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1427, allocations: 4.516 kB / 0.5459 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.1428, allocations: 47.72 kB / 0.546 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.806e-05/0.1429, allocations: 31.84 kB / 0.546 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.1429, allocations: 4 kB / 0.546 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.143, allocations: 43.98 kB / 0.5461 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.773e-05/0.1431, allocations: 39.84 kB / 0.5461 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.079e-05/0.1432, allocations: 35.69 kB / 0.5461 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.1434, allocations: 139.3 kB / 0.5463 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1434, allocations: 0 / 0.5463 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1434, allocations: 0 / 0.5463 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1434, allocations: 0 / 0.5463 GB, free: 0.8594 MB / 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.0006942/0.1441, allocations: 438.5 kB / 0.5467 GB, free: 392 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.1442, allocations: 16.03 kB / 0.5467 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.682e-05/0.1442, allocations: 34.73 kB / 0.5467 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.1443, allocations: 12.84 kB / 0.5468 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.1446, allocations: 220.8 kB / 0.547 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1446, allocations: 384 / 0.547 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.1446, allocations: 7.938 kB / 0.547 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.1448, allocations: 57.61 kB / 0.547 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1448, allocations: 0 / 0.547 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1448, allocations: 0 / 0.547 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1448, allocations: 4 kB / 0.547 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.95e-05/0.1449, allocations: 19.98 kB / 0.547 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.1453, allocations: 300.8 kB / 0.5473 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1455, allocations: 54.62 kB / 0.5474 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.355e-05/0.1456, allocations: 20.84 kB / 0.5474 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.1456, allocations: 4 kB / 0.5474 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.1458, allocations: 67.39 kB / 0.5475 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1458, allocations: 0 / 0.5475 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005971/0.1464, allocations: 185.2 kB / 0.5477 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.1464, allocations: 55.41 kB / 0.5477 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/0.1468, allocations: 262.5 kB / 0.548 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.1468, allocations: 33.7 kB / 0.548 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.949e-05/0.1469, allocations: 112.1 kB / 0.5481 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.147, allocations: 27.75 kB / 0.5481 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.147, allocations: 21.7 kB / 0.5481 GB, free: 14.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.1472, allocations: 330.8 kB / 0.5485 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-05/0.1473, allocations: 15.98 kB / 0.5485 GB, free: 14.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.369e-05/0.1474, allocations: 45.95 kB / 0.5485 GB, free: 14.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.1475, allocations: 57.72 kB / 0.5486 GB, free: 14.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1475, allocations: 0 / 0.5486 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000236/0.1477, allocations: 109.5 kB / 0.5487 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1477, allocations: 4 kB / 0.5487 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.1478, allocations: 4 kB / 0.5487 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1478, allocations: 0 / 0.5487 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/0.1479, allocations: 19.98 kB / 0.5487 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1479, allocations: 0 / 0.5487 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.142e-05/0.1479, allocations: 11.97 kB / 0.5487 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1479, allocations: 7.984 kB / 0.5487 GB, free: 14.1 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.0001464/0.1481, allocations: 133.8 kB / 0.5488 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.1481, allocations: 15.91 kB / 0.5489 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.1482, allocations: 21.39 kB / 0.5489 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.1482, allocations: 0 / 0.5489 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/0.1482, allocations: 0 / 0.5489 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1482, allocations: 7.938 kB / 0.5489 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005075/0.1487, allocations: 407.3 kB / 0.5493 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1487, allocations: 0 / 0.5493 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.1487, allocations: 8 kB / 0.5493 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1487, allocations: 7.875 kB / 0.5493 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.1487, allocations: 0 / 0.5493 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1487, allocations: 4 kB / 0.5493 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1487, allocations: 0 / 0.5493 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.149, allocations: 212.5 kB / 0.5495 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.1491, allocations: 93 kB / 0.5496 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.1491, allocations: 3.938 kB / 0.5496 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.1492, allocations: 8 kB / 0.5496 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.1492, allocations: 7.984 kB / 0.5496 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1492, allocations: 4 kB / 0.5496 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002046/0.1494, allocations: 200 kB / 0.5498 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1494, allocations: 4 kB / 0.5498 GB, free: 12.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1497, allocations: 24 kB / 0.5498 GB, free: 12.85 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.002234/0.1519, allocations: 1.108 MB / 0.5509 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1521, allocations: 51.97 kB / 0.551 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1521, allocations: 0 / 0.551 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.297e-05/0.1522, allocations: 23.94 kB / 0.551 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1525, allocations: 35.97 kB / 0.551 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.1548, allocations: 1.804 MB / 0.5528 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.1552, allocations: 0.7195 MB / 0.5535 GB, free: 9.156 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.939e-05/0.1553, allocations: 21.17 kB / 0.5535 GB, free: 9.137 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.428e-05/0.1554, allocations: 39.42 kB / 0.5535 GB, free: 9.098 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1554, allocations: 0 / 0.5535 GB, free: 9.098 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.1808, allocations: 3.738 MB / 0.5572 GB, free: 5.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.93/8.111, allocations: 15.92 kB / 0.5572 GB, free: 5.383 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.196912257000804]