Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001746/0.001746, allocations: 119 kB / 18.5 MB, free: 4.566 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.002119/0.002119, allocations: 190.9 kB / 21.44 MB, free: 1.633 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.413/1.413, allocations: 225.6 MB / 249.8 MB, free: 3.656 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.2108/0.2108, allocations: 44.91 MB / 349.6 MB, free: 1.785 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 69.7 kB / 491.8 MB, free: 29.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.116, allocations: 64.26 MB / 0.5431 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003389/0.1194, allocations: 1.923 MB / 0.5449 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.1209, allocations: 0.9391 MB / 0.5459 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.025e-05/0.121, allocations: 0 / 0.5459 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.1213, allocations: 35.72 kB / 0.5459 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.1215, allocations: 71.61 kB / 0.546 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.1218, allocations: 119.6 kB / 0.5461 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.1221, allocations: 135.6 kB / 0.5462 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1222, allocations: 29.69 kB / 0.5462 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.1223, allocations: 55.72 kB / 0.5463 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.982e-05/0.1224, allocations: 51.72 kB / 0.5463 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.1224, allocations: 8 kB / 0.5463 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-05/0.1225, allocations: 47.97 kB / 0.5464 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.1226, allocations: 27.86 kB / 0.5464 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.367e-05/0.1226, allocations: 55.61 kB / 0.5465 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.1229, allocations: 143.4 kB / 0.5466 GB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1229, allocations: 0 / 0.5466 GB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1229, allocations: 0 / 0.5466 GB, free: 456 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1229, allocations: 0 / 0.5466 GB, free: 456 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007243/0.1236, allocations: 492.1 kB / 0.5471 GB, free: 15.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1237, allocations: 8.031 kB / 0.5471 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.91e-05/0.1237, allocations: 38.75 kB / 0.5471 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.1238, allocations: 16.84 kB / 0.5471 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.1241, allocations: 228 kB / 0.5474 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.1241, allocations: 8.375 kB / 0.5474 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.1241, allocations: 7.938 kB / 0.5474 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.1244, allocations: 118.8 kB / 0.5475 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1244, allocations: 0 / 0.5475 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.1244, allocations: 8 kB / 0.5475 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1244, allocations: 0 / 0.5475 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.1246, allocations: 51.91 kB / 0.5475 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.1252, allocations: 0.501 MB / 0.548 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.1255, allocations: 82.61 kB / 0.5481 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.527e-05/0.1256, allocations: 36.83 kB / 0.5481 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.1256, allocations: 4 kB / 0.5481 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.1258, allocations: 87.31 kB / 0.5482 GB, free: 14.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.1258, allocations: 0 / 0.5482 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004024/0.1262, allocations: 149.4 kB / 0.5484 GB, free: 14.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.1263, allocations: 51.41 kB / 0.5484 GB, free: 14.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.1265, allocations: 187.5 kB / 0.5486 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1265, allocations: 29.7 kB / 0.5486 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.904e-05/0.1266, allocations: 120 kB / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.1266, allocations: 35.77 kB / 0.5488 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.1267, allocations: 29.7 kB / 0.5488 GB, free: 13.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1268, allocations: 322.8 kB / 0.5491 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.662e-05/0.1269, allocations: 27.98 kB / 0.5491 GB, free: 13.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.127, allocations: 64.27 kB / 0.5492 GB, free: 13.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.1272, allocations: 96.53 kB / 0.5493 GB, free: 13.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1272, allocations: 0 / 0.5493 GB, free: 13.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002647/0.1275, allocations: 145.4 kB / 0.5494 GB, free: 13.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1275, allocations: 7.938 kB / 0.5494 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.1275, allocations: 0 / 0.5494 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1275, allocations: 7.938 kB / 0.5494 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1276, allocations: 23.98 kB / 0.5495 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1276, allocations: 4 kB / 0.5495 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.059e-05/0.1277, allocations: 11.94 kB / 0.5495 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1277, allocations: 8.125 kB / 0.5495 GB, free: 13.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001072/0.1278, allocations: 131.5 kB / 0.5496 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.1279, allocations: 15.91 kB / 0.5496 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.035e-05/0.1279, allocations: 21.39 kB / 0.5497 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.1279, allocations: 3.938 kB / 0.5497 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1279, allocations: 4 kB / 0.5497 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1279, allocations: 0 / 0.5497 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.1281, allocations: 205.5 kB / 0.5499 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1281, allocations: 0 / 0.5499 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.618e-05/0.1282, allocations: 19.98 kB / 0.5499 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1282, allocations: 0 / 0.5499 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1282, allocations: 4 kB / 0.5499 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1282, allocations: 3.938 kB / 0.5499 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1282, allocations: 0 / 0.5499 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.1286, allocations: 176.9 kB / 0.5501 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.1286, allocations: 93.22 kB / 0.5501 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.1287, allocations: 8.062 kB / 0.5502 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.2e-05/0.1287, allocations: 15.88 kB / 0.5502 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.1288, allocations: 7.984 kB / 0.5502 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.1288, allocations: 4 kB / 0.5502 GB, free: 12.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1289, allocations: 141.1 kB / 0.5503 GB, free: 12.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1289, allocations: 0 / 0.5503 GB, free: 12.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000227/0.1291, allocations: 27.94 kB / 0.5503 GB, free: 12.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002099/0.1312, allocations: 1.024 MB / 0.5513 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.1315, allocations: 75.89 kB / 0.5514 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1315, allocations: 0 / 0.5514 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.1316, allocations: 40.17 kB / 0.5514 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.1319, allocations: 39.91 kB / 0.5515 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.134, allocations: 1.727 MB / 0.5532 GB, free: 9.367 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.1344, allocations: 0.7199 MB / 0.5539 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.45e-05/0.1344, allocations: 21.42 kB / 0.5539 GB, free: 8.598 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.1345, allocations: 39.8 kB / 0.5539 GB, free: 8.559 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1345, allocations: 0 / 0.5539 GB, free: 8.559 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.1603, allocations: 3.814 MB / 0.5577 GB, free: 4.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.234, allocations: 7.922 kB / 0.5577 GB, free: 4.781 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.198129208758473]