Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001887/0.001887, allocations: 119 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.001925/0.001925, allocations: 194.9 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.505/1.505, allocations: 225.6 MB / 249.8 MB, free: 3.621 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.2326/0.2326, allocations: 44.92 MB / 349.6 MB, free: 1.746 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.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 61.59 kB / 491.9 MB, free: 30.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1282, allocations: 64.26 MB / 0.5431 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.004097/0.1323, allocations: 1.89 MB / 0.5449 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.1341, allocations: 1.005 MB / 0.5459 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1342, allocations: 3.938 kB / 0.5459 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004319/0.1347, allocations: 151.5 kB / 0.5461 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.135, allocations: 139.5 kB / 0.5462 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.1356, allocations: 187.4 kB / 0.5464 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.1359, allocations: 231.3 kB / 0.5466 GB, free: 432 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.136, allocations: 21.89 kB / 0.5466 GB, free: 408 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.1362, allocations: 103.6 kB / 0.5467 GB, free: 304 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.1364, allocations: 143.5 kB / 0.5469 GB, free: 160 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.1364, allocations: 8 kB / 0.5469 GB, free: 152 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1366, allocations: 71.95 kB / 0.5469 GB, free: 80 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.284e-05/0.1367, allocations: 43.84 kB / 0.547 GB, free: 36 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.1368, allocations: 83.47 kB / 0.5471 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.1371, allocations: 215 kB / 0.5473 GB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1371, allocations: 0 / 0.5473 GB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1371, allocations: 0 / 0.5473 GB, free: 15.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1371, allocations: 0 / 0.5473 GB, free: 15.74 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007937/0.1379, allocations: 0.5329 MB / 0.5478 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1379, allocations: 8.031 kB / 0.5478 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.287e-05/0.138, allocations: 42.73 kB / 0.5478 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.1381, allocations: 28.8 kB / 0.5479 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.1385, allocations: 271.8 kB / 0.5481 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1385, allocations: 8.375 kB / 0.5481 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.1385, allocations: 11.92 kB / 0.5481 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.1388, allocations: 107.3 kB / 0.5482 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.1388, allocations: 3.984 kB / 0.5483 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.1388, allocations: 8 kB / 0.5483 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1388, allocations: 0 / 0.5483 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.139, allocations: 43.97 kB / 0.5483 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005949/0.1396, allocations: 468.8 kB / 0.5487 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.1399, allocations: 125.2 kB / 0.5489 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.794e-05/0.14, allocations: 41.81 kB / 0.5489 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.1401, allocations: 0 / 0.5489 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.1403, allocations: 120.8 kB / 0.549 GB, free: 13.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.1403, allocations: 4 kB / 0.549 GB, free: 13.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001306/0.1416, allocations: 0.4894 MB / 0.5495 GB, free: 13.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.1417, allocations: 81.05 kB / 0.5496 GB, free: 13.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003768/0.1421, allocations: 350.9 kB / 0.5499 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.1421, allocations: 33.7 kB / 0.5499 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.1422, allocations: 148.5 kB / 0.5501 GB, free: 12.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.648e-05/0.1423, allocations: 79.41 kB / 0.5502 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/0.1424, allocations: 45.7 kB / 0.5502 GB, free: 12.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1425, allocations: 338.8 kB / 0.5505 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.1426, allocations: 55.97 kB / 0.5506 GB, free: 12.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.1428, allocations: 95.28 kB / 0.5507 GB, free: 11.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.1431, allocations: 155.4 kB / 0.5508 GB, free: 11.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1431, allocations: 4 kB / 0.5508 GB, free: 11.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003882/0.1434, allocations: 237.4 kB / 0.5511 GB, free: 11.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1435, allocations: 9.875 kB / 0.5511 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1435, allocations: 0 / 0.5511 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1435, allocations: 4 kB / 0.5511 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.1436, allocations: 47.98 kB / 0.5511 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1436, allocations: 11.92 kB / 0.5511 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.908e-05/0.1437, allocations: 8 kB / 0.5511 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.1437, allocations: 4 kB / 0.5511 GB, free: 11.48 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001771/0.1439, allocations: 161.8 kB / 0.5513 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.144, allocations: 31.75 kB / 0.5513 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.565e-05/0.144, allocations: 33.73 kB / 0.5514 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.144, allocations: 4 kB / 0.5514 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.144, allocations: 4 kB / 0.5514 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.144, allocations: 0 / 0.5514 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009167/0.145, allocations: 0.7078 MB / 0.5521 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.145, allocations: 4 kB / 0.5521 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.575e-05/0.1451, allocations: 31.92 kB / 0.5521 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.1451, allocations: 4.125 kB / 0.5521 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.1451, allocations: 8 kB / 0.5521 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.1451, allocations: 4.188 kB / 0.5521 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1451, allocations: 3.938 kB / 0.5521 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/0.1456, allocations: 425.7 kB / 0.5525 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-05/0.1457, allocations: 96.97 kB / 0.5526 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.1457, allocations: 11.98 kB / 0.5526 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.1458, allocations: 8 kB / 0.5526 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.1459, allocations: 19.92 kB / 0.5526 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.1459, allocations: 19.98 kB / 0.5527 GB, free: 9.797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002665/0.1462, allocations: 269.9 kB / 0.5529 GB, free: 9.535 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1462, allocations: 0 / 0.5529 GB, free: 9.535 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003552/0.1465, allocations: 47.89 kB / 0.553 GB, free: 9.488 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002604/0.1491, allocations: 1.353 MB / 0.5543 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003574/0.1495, allocations: 147.8 kB / 0.5544 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1495, allocations: 4 kB / 0.5544 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.1497, allocations: 76.03 kB / 0.5545 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.1502, allocations: 63.89 kB / 0.5546 GB, free: 8.039 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.1535, allocations: 2.657 MB / 0.5572 GB, free: 5.258 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.1539, allocations: 0.7595 MB / 0.5579 GB, free: 4.473 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.1541, allocations: 49.91 kB / 0.5579 GB, free: 4.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.1542, allocations: 79.41 kB / 0.558 GB, free: 4.344 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1542, allocations: 0 / 0.558 GB, free: 4.344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.1837, allocations: 5.971 MB / 0.5639 GB, free: 14.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.317/8.501, allocations: 10.03 kB / 0.5639 GB, free: 14.4 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.734222786966711]