Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.00123/0.00123, allocations: 118.1 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.001279/0.001279, allocations: 193.2 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.407/1.407, allocations: 225.6 MB / 249.8 MB, free: 3.609 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.2265/0.2265, 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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 66.88 kB / 491.8 MB, free: 29.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1155, allocations: 64.26 MB / 0.5431 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003141/0.1187, allocations: 1.672 MB / 0.5447 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1202, allocations: 0.8652 MB / 0.5456 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.428e-05/0.1202, allocations: 4 kB / 0.5456 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.1205, allocations: 59.73 kB / 0.5456 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.1207, allocations: 67.73 kB / 0.5457 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.121, allocations: 99.62 kB / 0.5458 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.1212, allocations: 99.67 kB / 0.5459 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.1212, allocations: 4 kB / 0.5459 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.729e-05/0.1213, allocations: 51.72 kB / 0.5459 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.1214, allocations: 51.81 kB / 0.546 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1215, allocations: 4 kB / 0.546 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.984e-05/0.1215, allocations: 35.98 kB / 0.546 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.1216, allocations: 19.91 kB / 0.546 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.1216, allocations: 27.75 kB / 0.5461 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.1218, allocations: 103.8 kB / 0.5462 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1218, allocations: 0 / 0.5462 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1218, allocations: 0 / 0.5462 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1218, allocations: 0 / 0.5462 GB, free: 0.8477 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005469/0.1224, allocations: 414.8 kB / 0.5465 GB, free: 404 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1224, allocations: 8.031 kB / 0.5466 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.1225, allocations: 34.75 kB / 0.5466 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.1225, allocations: 8.891 kB / 0.5466 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.1228, allocations: 204.1 kB / 0.5468 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1228, allocations: 4.375 kB / 0.5468 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.1228, allocations: 3.938 kB / 0.5468 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.123, allocations: 53.61 kB / 0.5469 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.123, allocations: 0 / 0.5469 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.123, allocations: 8 kB / 0.5469 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-06/0.123, allocations: 0 / 0.5469 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.081e-05/0.1231, allocations: 15.98 kB / 0.5469 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.1233, allocations: 177.7 kB / 0.547 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.1234, allocations: 50.56 kB / 0.5471 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.1235, allocations: 24.78 kB / 0.5471 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1235, allocations: 4 kB / 0.5471 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.1237, allocations: 59.39 kB / 0.5472 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.1237, allocations: 0 / 0.5472 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002873/0.124, allocations: 97.58 kB / 0.5473 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.124, allocations: 55.41 kB / 0.5473 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.1242, allocations: 186.1 kB / 0.5475 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1242, allocations: 29.7 kB / 0.5475 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.1243, allocations: 104.1 kB / 0.5476 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.1243, allocations: 15.89 kB / 0.5476 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.1243, allocations: 21.72 kB / 0.5477 GB, free: 15.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1245, allocations: 322.8 kB / 0.548 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-05/0.1246, allocations: 15.98 kB / 0.548 GB, free: 14.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.922e-05/0.1246, allocations: 29.73 kB / 0.548 GB, free: 14.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.387e-05/0.1247, allocations: 45.7 kB / 0.5481 GB, free: 14.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.1247, allocations: 4.188 kB / 0.5481 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000154/0.1249, allocations: 81.58 kB / 0.5481 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1249, allocations: 13.7 kB / 0.5482 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1249, allocations: 3.938 kB / 0.5482 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1249, allocations: 0 / 0.5482 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.127e-05/0.125, allocations: 8 kB / 0.5482 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.125, allocations: 4 kB / 0.5482 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.05e-05/0.125, allocations: 4.031 kB / 0.5482 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.125, allocations: 4 kB / 0.5482 GB, free: 14.53 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 (7): * Single equations (assignments): 7 * 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.0001092/0.1251, allocations: 136.5 kB / 0.5483 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.1252, allocations: 15.84 kB / 0.5483 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.1252, allocations: 16.3 kB / 0.5483 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1252, allocations: 0 / 0.5483 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1252, allocations: 0 / 0.5483 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1252, allocations: 4 kB / 0.5483 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.1254, allocations: 185.5 kB / 0.5485 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1254, allocations: 4 kB / 0.5485 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.1254, allocations: 4 kB / 0.5485 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1254, allocations: 0 / 0.5485 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1254, allocations: 4 kB / 0.5485 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1254, allocations: 3.984 kB / 0.5485 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1254, allocations: 0 / 0.5485 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.1256, allocations: 113 kB / 0.5486 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.1257, allocations: 89.05 kB / 0.5487 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.1257, allocations: 4 kB / 0.5487 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.258e-05/0.1257, allocations: 0 / 0.5487 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.1258, allocations: 8 kB / 0.5487 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.1258, allocations: 3.984 kB / 0.5487 GB, free: 13.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.1259, allocations: 144.1 kB / 0.5489 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1259, allocations: 0 / 0.5489 GB, free: 13.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002023/0.1261, allocations: 12 kB / 0.5489 GB, free: 13.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001794/0.1279, allocations: 0.9608 MB / 0.5498 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.128, allocations: 43.91 kB / 0.5499 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.128, allocations: 0 / 0.5499 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.507e-05/0.1281, allocations: 16 kB / 0.5499 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.1284, allocations: 28.2 kB / 0.5499 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.1301, allocations: 1.485 MB / 0.5514 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.1305, allocations: 0.6963 MB / 0.552 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.813e-05/0.1305, allocations: 12.55 kB / 0.5521 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.1306, allocations: 31.44 kB / 0.5521 GB, free: 10.45 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1306, allocations: 3.938 kB / 0.5521 GB, free: 10.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.1552, allocations: 3.101 MB / 0.5551 GB, free: 7.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.143, allocations: 8 kB / 0.5551 GB, free: 7.379 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.072468902915716]