Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.00132/0.00132, allocations: 117.6 kB / 18.5 MB, free: 4.582 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.001349/0.001349, allocations: 190.9 kB / 21.44 MB, free: 1.645 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.405/1.405, allocations: 225.6 MB / 249.8 MB, free: 3.629 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.2242/0.2242, allocations: 44.92 MB / 349.6 MB, free: 1.758 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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 70.64 kB / 491.9 MB, free: 29.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.127, allocations: 64.26 MB / 0.5431 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003271/0.1303, allocations: 1.717 MB / 0.5448 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1319, allocations: 0.8885 MB / 0.5456 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.237e-05/0.132, allocations: 8 kB / 0.5456 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.1322, allocations: 43.75 kB / 0.5457 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.1325, allocations: 55.77 kB / 0.5457 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.1328, allocations: 111.6 kB / 0.5458 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1329, allocations: 95.69 kB / 0.5459 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.639e-05/0.133, allocations: 12.52 kB / 0.5459 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1331, allocations: 43.78 kB / 0.546 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.414e-05/0.1332, allocations: 31.78 kB / 0.546 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.1333, allocations: 4 kB / 0.546 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1334, allocations: 51.91 kB / 0.5461 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.849e-05/0.1334, allocations: 31.86 kB / 0.5461 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.1335, allocations: 39.69 kB / 0.5461 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.1337, allocations: 135.4 kB / 0.5463 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1337, allocations: 0 / 0.5463 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1337, allocations: 0 / 0.5463 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.1338, allocations: 4 kB / 0.5463 GB, free: 0.7695 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.0006356/0.1344, allocations: 446.5 kB / 0.5467 GB, free: 292 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1344, allocations: 8.031 kB / 0.5467 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.1345, allocations: 38.73 kB / 0.5467 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.1345, allocations: 12.84 kB / 0.5467 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.1349, allocations: 220.9 kB / 0.547 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.1349, allocations: 384 / 0.547 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.1349, allocations: 7.938 kB / 0.547 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.1351, allocations: 57.67 kB / 0.547 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1351, allocations: 0 / 0.547 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1351, allocations: 0 / 0.547 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1351, allocations: 0 / 0.547 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.16e-05/0.1352, allocations: 27.86 kB / 0.547 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.1356, allocations: 292.9 kB / 0.5473 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.1358, allocations: 54.69 kB / 0.5474 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.1358, allocations: 20.84 kB / 0.5474 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1358, allocations: 7.938 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.136, allocations: 59.39 kB / 0.5475 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.136, allocations: 0 / 0.5475 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005936/0.1366, allocations: 193.2 kB / 0.5476 GB, free: 15.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.1366, allocations: 55.41 kB / 0.5477 GB, free: 15.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.1369, allocations: 262.5 kB / 0.548 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.1369, allocations: 29.7 kB / 0.548 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.943e-05/0.137, allocations: 112.1 kB / 0.5481 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.137, allocations: 23.75 kB / 0.5481 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.1371, allocations: 29.7 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1372, allocations: 322.8 kB / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.1373, allocations: 23.98 kB / 0.5485 GB, free: 14.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-05/0.1374, allocations: 41.7 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.1375, allocations: 57.66 kB / 0.5486 GB, free: 14.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1375, allocations: 192 / 0.5486 GB, free: 14.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001899/0.1377, allocations: 109.5 kB / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1377, allocations: 7.938 kB / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1377, allocations: 0 / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1377, allocations: 8.031 kB / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.398e-05/0.1378, allocations: 16.36 kB / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1378, allocations: 0 / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.379e-05/0.1379, allocations: 15.94 kB / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1379, allocations: 0 / 0.5487 GB, free: 14.01 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.0001243/0.138, allocations: 137.8 kB / 0.5488 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.138, allocations: 15.91 kB / 0.5489 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.361e-05/0.1381, allocations: 21.39 kB / 0.5489 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1381, allocations: 0 / 0.5489 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1381, allocations: 4 kB / 0.5489 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1381, allocations: 7.875 kB / 0.5489 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.1386, allocations: 395.4 kB / 0.5493 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1386, allocations: 0 / 0.5493 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.1386, allocations: 15.88 kB / 0.5493 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.1386, allocations: 7.938 kB / 0.5493 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1386, allocations: 0 / 0.5493 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1386, allocations: 0 / 0.5493 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1386, allocations: 0 / 0.5493 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.1389, allocations: 212.3 kB / 0.5495 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-05/0.139, allocations: 93 kB / 0.5496 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.139, allocations: 3.938 kB / 0.5496 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1391, allocations: 4 kB / 0.5496 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.1392, allocations: 15.92 kB / 0.5496 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.1392, allocations: 0 / 0.5496 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002053/0.1394, allocations: 204 kB / 0.5498 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1394, allocations: 0 / 0.5498 GB, free: 12.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1396, allocations: 24 kB / 0.5498 GB, free: 12.76 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.002283/0.1419, allocations: 1.103 MB / 0.5509 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.1421, allocations: 59.89 kB / 0.551 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1421, allocations: 0 / 0.551 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.543e-05/0.1422, allocations: 28 kB / 0.551 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.1426, allocations: 27.97 kB / 0.551 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.1448, allocations: 1.803 MB / 0.5528 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.1452, allocations: 0.7214 MB / 0.5535 GB, free: 9.062 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.035e-05/0.1453, allocations: 25.17 kB / 0.5535 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.836e-05/0.1454, allocations: 39.42 kB / 0.5535 GB, free: 9 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1454, allocations: 0 / 0.5535 GB, free: 9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.1718, allocations: 3.728 MB / 0.5572 GB, free: 5.305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.126, allocations: 12.03 kB / 0.5572 GB, free: 5.297 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498107 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.122034669853747]