Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001152/0.001152, allocations: 117.6 kB / 18.5 MB, free: 4.582 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.00115/0.00115, allocations: 190.9 kB / 21.44 MB, free: 1.645 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.518/1.518, allocations: 225.6 MB / 249.8 MB, free: 3.629 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.2298/0.2298, allocations: 44.92 MB / 349.6 MB, free: 1.734 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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 66.86 kB / 491.9 MB, free: 29.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1338, allocations: 64.25 MB / 0.5431 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003238/0.1371, allocations: 1.715 MB / 0.5448 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1389, allocations: 0.904 MB / 0.5456 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.699e-05/0.1389, allocations: 0 / 0.5456 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.1393, allocations: 27.84 kB / 0.5457 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.1395, allocations: 59.7 kB / 0.5457 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.1398, allocations: 115.2 kB / 0.5458 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.14, allocations: 95.69 kB / 0.5459 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.767e-05/0.1401, allocations: 4.516 kB / 0.5459 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1402, allocations: 43.78 kB / 0.546 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.041e-05/0.1403, allocations: 39.84 kB / 0.546 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1403, allocations: 4 kB / 0.546 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.637e-05/0.1404, allocations: 39.98 kB / 0.546 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.327e-05/0.1404, allocations: 27.91 kB / 0.5461 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.543e-05/0.1405, allocations: 31.75 kB / 0.5461 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.1408, allocations: 115.4 kB / 0.5462 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1408, allocations: 0 / 0.5462 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1408, allocations: 0 / 0.5462 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1408, allocations: 0 / 0.5462 GB, free: 0.8047 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.0006064/0.1414, allocations: 410.8 kB / 0.5466 GB, free: 364 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1414, allocations: 8.031 kB / 0.5466 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.1415, allocations: 34.73 kB / 0.5466 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.1415, allocations: 16.84 kB / 0.5467 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.1418, allocations: 204.2 kB / 0.5469 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1418, allocations: 4.375 kB / 0.5469 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.1418, allocations: 3.938 kB / 0.5469 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.142, allocations: 57.61 kB / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.142, allocations: 0 / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.142, allocations: 4 kB / 0.5469 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.142, allocations: 4 kB / 0.5469 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.526e-05/0.1421, allocations: 15.98 kB / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.1425, allocations: 284.9 kB / 0.5472 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.1427, allocations: 58.62 kB / 0.5473 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/0.1427, allocations: 24.84 kB / 0.5473 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.1428, allocations: 3.938 kB / 0.5473 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.1429, allocations: 63.39 kB / 0.5474 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.1429, allocations: 4 kB / 0.5474 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000663/0.1436, allocations: 169.4 kB / 0.5475 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.1436, allocations: 55.41 kB / 0.5476 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.1438, allocations: 178.5 kB / 0.5477 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.1438, allocations: 29.7 kB / 0.5478 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.952e-05/0.1439, allocations: 100.1 kB / 0.5479 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.144, allocations: 35.67 kB / 0.5479 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.144, allocations: 17.72 kB / 0.5479 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.1442, allocations: 326.8 kB / 0.5482 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.258e-05/0.1442, allocations: 19.98 kB / 0.5483 GB, free: 14.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.211e-05/0.1443, allocations: 37.64 kB / 0.5483 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.1445, allocations: 65.7 kB / 0.5484 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1445, allocations: 0 / 0.5484 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001937/0.1446, allocations: 97.56 kB / 0.5484 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1447, allocations: 4 kB / 0.5484 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.1447, allocations: 4 kB / 0.5485 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1447, allocations: 0 / 0.5485 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.851e-05/0.1448, allocations: 15.98 kB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1448, allocations: 4.031 kB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.1448, allocations: 11.94 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1448, allocations: 7.984 kB / 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.0001032/0.1449, allocations: 121.8 kB / 0.5486 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.145, allocations: 15.89 kB / 0.5486 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.145, allocations: 16.72 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.145, allocations: 0 / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.145, allocations: 0 / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.145, allocations: 3.938 kB / 0.5486 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/0.1455, allocations: 391.3 kB / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1455, allocations: 0 / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.436e-05/0.1455, allocations: 11.98 kB / 0.549 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1455, allocations: 3.938 kB / 0.549 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1455, allocations: 4 kB / 0.549 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1455, allocations: 4.375 kB / 0.549 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1455, allocations: 3.938 kB / 0.549 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.1458, allocations: 200.3 kB / 0.5492 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.1458, allocations: 85.02 kB / 0.5493 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1459, allocations: 15.94 kB / 0.5493 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.686e-05/0.1459, allocations: 3.984 kB / 0.5493 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.146, allocations: 4 kB / 0.5493 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.146, allocations: 4 kB / 0.5493 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1461, allocations: 135.2 kB / 0.5495 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1461, allocations: 4 kB / 0.5495 GB, free: 13.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1464, allocations: 24.12 kB / 0.5495 GB, free: 13.09 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.002131/0.1485, allocations: 1.095 MB / 0.5506 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.1487, allocations: 51.97 kB / 0.5506 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1487, allocations: 0 / 0.5506 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.56e-05/0.1488, allocations: 35.86 kB / 0.5506 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.1491, allocations: 24.11 kB / 0.5507 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.151, allocations: 1.608 MB / 0.5522 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.1515, allocations: 0.7002 MB / 0.5529 GB, free: 9.621 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.033e-05/0.1515, allocations: 21.17 kB / 0.5529 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/0.1516, allocations: 31.42 kB / 0.553 GB, free: 9.57 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1516, allocations: 0 / 0.553 GB, free: 9.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.177, allocations: 3.333 MB / 0.5562 GB, free: 6.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.048, allocations: 15.91 kB / 0.5562 GB, free: 6.258 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.216656018048525]