Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001256/0.001256, allocations: 117.6 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.001417/0.001417, allocations: 190.9 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.424/1.424, 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.2566/0.2566, allocations: 44.92 MB / 349.6 MB, free: 1.793 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.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 71.05 kB / 491.8 MB, free: 29.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1181, allocations: 64.27 MB / 0.5431 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003371/0.1215, allocations: 1.802 MB / 0.5448 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.124, allocations: 1.569 MB / 0.5464 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.276e-05/0.1241, allocations: 7.938 kB / 0.5464 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.1244, allocations: 51.7 kB / 0.5464 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004257/0.1248, allocations: 91.53 kB / 0.5465 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.1252, allocations: 163.6 kB / 0.5467 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.1255, allocations: 179.5 kB / 0.5468 GB, free: 172 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.1255, allocations: 5.562 kB / 0.5468 GB, free: 160 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.1257, allocations: 87.56 kB / 0.5469 GB, free: 72 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.1259, allocations: 67.69 kB / 0.547 GB, free: 4 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.1259, allocations: 11.98 kB / 0.547 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.126, allocations: 71.95 kB / 0.5471 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.425e-05/0.1261, allocations: 31.84 kB / 0.5471 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.1262, allocations: 55.67 kB / 0.5472 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.1265, allocations: 175.5 kB / 0.5473 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1265, allocations: 0 / 0.5473 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1265, allocations: 3.938 kB / 0.5473 GB, free: 15.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1265, allocations: 0 / 0.5473 GB, free: 15.66 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008114/0.1273, allocations: 470.4 kB / 0.5478 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1274, allocations: 12.03 kB / 0.5478 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.1274, allocations: 42.73 kB / 0.5478 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.1275, allocations: 16.84 kB / 0.5478 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.1279, allocations: 244.6 kB / 0.5481 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.1279, allocations: 8.312 kB / 0.5481 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.1279, allocations: 3.938 kB / 0.5481 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.1281, allocations: 105 kB / 0.5482 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1281, allocations: 0 / 0.5482 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.1281, allocations: 4 kB / 0.5482 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1281, allocations: 4 kB / 0.5482 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1283, allocations: 35.91 kB / 0.5482 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.1285, allocations: 210.5 kB / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.1288, allocations: 105.1 kB / 0.5485 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.304e-05/0.1289, allocations: 37.7 kB / 0.5486 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1289, allocations: 7.922 kB / 0.5486 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.1291, allocations: 109.1 kB / 0.5487 GB, free: 14.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1291, allocations: 0 / 0.5487 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004444/0.1295, allocations: 165.5 kB / 0.5488 GB, free: 13.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.1297, allocations: 128.5 kB / 0.549 GB, free: 13.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/0.1301, allocations: 219.7 kB / 0.5492 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.1301, allocations: 29.7 kB / 0.5492 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.693e-05/0.1302, allocations: 116.1 kB / 0.5493 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.1302, allocations: 23.84 kB / 0.5493 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.1303, allocations: 29.7 kB / 0.5494 GB, free: 13.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1305, allocations: 326.8 kB / 0.5497 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.1306, allocations: 27.98 kB / 0.5497 GB, free: 12.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.1307, allocations: 72.5 kB / 0.5498 GB, free: 12.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.1309, allocations: 91.39 kB / 0.5499 GB, free: 12.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1309, allocations: 3.938 kB / 0.5499 GB, free: 12.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002616/0.1312, allocations: 130.1 kB / 0.55 GB, free: 12.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1312, allocations: 4 kB / 0.55 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.1312, allocations: 16.05 kB / 0.55 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1312, allocations: 0 / 0.55 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.1314, allocations: 19.94 kB / 0.55 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1314, allocations: 4 kB / 0.55 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.947e-05/0.1315, allocations: 19.88 kB / 0.55 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1315, allocations: 4 kB / 0.55 GB, free: 12.56 MB / 414.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: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001438/0.1317, allocations: 133.8 kB / 0.5502 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.1317, allocations: 15.91 kB / 0.5502 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.1318, allocations: 17 kB / 0.5502 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1318, allocations: 8 kB / 0.5502 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1318, allocations: 0 / 0.5502 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1318, allocations: 7.922 kB / 0.5502 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.1321, allocations: 221.4 kB / 0.5504 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1321, allocations: 0 / 0.5504 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.1321, allocations: 12 kB / 0.5504 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1321, allocations: 3.984 kB / 0.5504 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1321, allocations: 7.984 kB / 0.5505 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1321, allocations: 0 / 0.5505 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1321, allocations: 0 / 0.5505 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.1324, allocations: 173.7 kB / 0.5506 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.1325, allocations: 92.95 kB / 0.5507 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.1325, allocations: 8 kB / 0.5507 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.556e-05/0.1326, allocations: 7.984 kB / 0.5507 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.1326, allocations: 11.98 kB / 0.5507 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.1326, allocations: 4 kB / 0.5507 GB, free: 11.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.1328, allocations: 160.2 kB / 0.5509 GB, free: 11.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1328, allocations: 4 kB / 0.5509 GB, free: 11.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1331, allocations: 31.94 kB / 0.5509 GB, free: 11.56 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002066/0.1351, allocations: 1.052 MB / 0.552 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.1354, allocations: 79.84 kB / 0.552 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1354, allocations: 0 / 0.552 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.1355, allocations: 36.36 kB / 0.5521 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.1359, allocations: 67.88 kB / 0.5521 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.1382, allocations: 1.809 MB / 0.5539 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.1385, allocations: 0.7164 MB / 0.5546 GB, free: 7.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.1386, allocations: 29.55 kB / 0.5546 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.588e-05/0.1387, allocations: 51.41 kB / 0.5547 GB, free: 7.742 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1387, allocations: 0 / 0.5547 GB, free: 7.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.1699, allocations: 4.732 MB / 0.5593 GB, free: 3.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/8.388, allocations: 15.66 kB / 0.5593 GB, free: 3.008 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.420899919234216]