Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.00175/0.00175, allocations: 119 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.001895/0.001895, 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.505/1.505, allocations: 225.6 MB / 249.9 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.2534/0.2534, allocations: 44.92 MB / 349.6 MB, free: 1.703 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.3 kB / 491.9 MB, free: 29.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1308, allocations: 64.26 MB / 0.5431 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003449/0.1342, allocations: 1.718 MB / 0.5448 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.1359, allocations: 0.8885 MB / 0.5456 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.303e-05/0.136, allocations: 3.938 kB / 0.5456 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.1363, allocations: 35.83 kB / 0.5457 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.1366, allocations: 55.7 kB / 0.5457 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.1368, allocations: 103.7 kB / 0.5458 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.137, allocations: 99.62 kB / 0.5459 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1372, allocations: 12.5 kB / 0.5459 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.823e-05/0.1372, allocations: 39.8 kB / 0.546 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.593e-05/0.1373, allocations: 39.77 kB / 0.546 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.1374, allocations: 8 kB / 0.546 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1375, allocations: 43.98 kB / 0.5461 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.1375, allocations: 15.94 kB / 0.5461 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.195e-05/0.1376, allocations: 35.78 kB / 0.5461 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.1378, allocations: 99.53 kB / 0.5462 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1378, allocations: 0 / 0.5462 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1378, allocations: 0 / 0.5462 GB, free: 0.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.341e-06/0.1378, allocations: 0 / 0.5462 GB, free: 0.793 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.0006539/0.1385, allocations: 410.7 kB / 0.5466 GB, free: 352 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.1385, allocations: 12.03 kB / 0.5466 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.408e-05/0.1386, allocations: 38.75 kB / 0.5466 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.1386, allocations: 8.891 kB / 0.5466 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.1389, allocations: 208.5 kB / 0.5468 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1389, allocations: 8 kB / 0.5469 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.139, allocations: 0 / 0.5469 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.1392, allocations: 53.67 kB / 0.5469 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.1392, allocations: 3.938 kB / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1392, allocations: 4 kB / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.1392, allocations: 4 kB / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.584e-05/0.1393, allocations: 15.98 kB / 0.5469 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.1397, allocations: 280.9 kB / 0.5472 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.1399, allocations: 54.67 kB / 0.5473 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.404e-05/0.1399, allocations: 20.8 kB / 0.5473 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.1399, allocations: 7.984 kB / 0.5473 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.1401, allocations: 71.34 kB / 0.5473 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1401, allocations: 0 / 0.5473 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005655/0.1407, allocations: 169.4 kB / 0.5475 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.1407, allocations: 67.33 kB / 0.5476 GB, free: 15.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.1409, allocations: 153.4 kB / 0.5477 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.1409, allocations: 29.7 kB / 0.5477 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.141, allocations: 104.1 kB / 0.5478 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.141, allocations: 27.78 kB / 0.5479 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/0.1411, allocations: 21.72 kB / 0.5479 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1412, allocations: 326.8 kB / 0.5482 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.947e-05/0.1413, allocations: 19.98 kB / 0.5482 GB, free: 14.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-05/0.1414, allocations: 37.64 kB / 0.5483 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.1415, allocations: 61.66 kB / 0.5483 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1415, allocations: 0 / 0.5483 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002002/0.1417, allocations: 101.6 kB / 0.5484 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1417, allocations: 4 kB / 0.5484 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.1417, allocations: 7.875 kB / 0.5484 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1417, allocations: 0 / 0.5484 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.906e-05/0.1418, allocations: 16 kB / 0.5484 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1418, allocations: 3.984 kB / 0.5484 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.1419, allocations: 12.03 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1419, allocations: 0 / 0.5485 GB, free: 14.23 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.0001222/0.142, allocations: 117.8 kB / 0.5486 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.142, allocations: 7.953 kB / 0.5486 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.1421, allocations: 24.73 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1421, allocations: 0 / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1421, allocations: 4 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.1421, allocations: 3.984 kB / 0.5486 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.1426, allocations: 403.2 kB / 0.549 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1426, allocations: 0 / 0.549 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-05/0.1426, allocations: 8 kB / 0.549 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.1426, allocations: 0 / 0.549 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1426, allocations: 3.984 kB / 0.549 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1426, allocations: 4 kB / 0.549 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1426, allocations: 0 / 0.549 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.1429, allocations: 208.3 kB / 0.5492 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.1429, allocations: 81.06 kB / 0.5493 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.143, allocations: 4.375 kB / 0.5493 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.143, allocations: 4 kB / 0.5493 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.1431, allocations: 11.92 kB / 0.5493 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1431, allocations: 8 kB / 0.5493 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.1432, allocations: 126.2 kB / 0.5494 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1432, allocations: 0 / 0.5494 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.1435, allocations: 27.98 kB / 0.5495 GB, free: 13.1 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.002271/0.1458, allocations: 1.097 MB / 0.5505 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.1459, allocations: 55.91 kB / 0.5506 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.146, allocations: 0 / 0.5506 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.144e-05/0.146, allocations: 23.94 kB / 0.5506 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.1464, allocations: 30.78 kB / 0.5506 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.1483, allocations: 1.577 MB / 0.5522 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.1486, allocations: 0.6963 MB / 0.5529 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.517e-05/0.1487, allocations: 12.89 kB / 0.5529 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.531e-05/0.1488, allocations: 31.42 kB / 0.5529 GB, free: 9.625 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1488, allocations: 0 / 0.5529 GB, free: 9.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.1744, allocations: 3.286 MB / 0.5561 GB, free: 6.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.089, allocations: 4.266 kB / 0.5561 GB, free: 6.371 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.276027178857476]