Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 116.2 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002217/0.002217, allocations: 218.9 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.269/0.269, allocations: 46.92 MB / 357.8 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 80.02 kB / 0.4917 GB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1269, allocations: 65.98 MB / 0.5561 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003771/0.1307, allocations: 1.949 MB / 0.558 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.1327, allocations: 1.068 MB / 0.5591 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.1328, allocations: 0 / 0.5591 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.1331, allocations: 51.62 kB / 0.5591 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.1335, allocations: 99.53 kB / 0.5592 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.1338, allocations: 99.64 kB / 0.5593 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.134, allocations: 147.5 kB / 0.5595 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1341, allocations: 21.55 kB / 0.5595 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.1343, allocations: 63.64 kB / 0.5595 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1344, allocations: 51.72 kB / 0.5596 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.1344, allocations: 8 kB / 0.5596 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1345, allocations: 43.98 kB / 0.5596 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.317e-05/0.1346, allocations: 31.84 kB / 0.5597 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.776e-05/0.1347, allocations: 55.61 kB / 0.5597 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.135, allocations: 155.3 kB / 0.5599 GB, free: 1.938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.135, allocations: 0 / 0.5599 GB, free: 1.938 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.135, allocations: 4 kB / 0.5599 GB, free: 1.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.135, allocations: 0 / 0.5599 GB, free: 1.934 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007338/0.1357, allocations: 484.1 kB / 0.5603 GB, free: 1.406 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1358, allocations: 12.02 kB / 0.5603 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.724e-05/0.1358, allocations: 8.125 kB / 0.5603 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/0.1358, allocations: 38.75 kB / 0.5604 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.1359, allocations: 16.84 kB / 0.5604 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.1363, allocations: 236.8 kB / 0.5606 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.1363, allocations: 12.12 kB / 0.5606 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1363, allocations: 7.938 kB / 0.5606 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.1366, allocations: 110.5 kB / 0.5608 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1366, allocations: 4 kB / 0.5608 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.1366, allocations: 4 kB / 0.5608 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1366, allocations: 0 / 0.5608 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.1368, allocations: 51.91 kB / 0.5608 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006357/0.1374, allocations: 0.501 MB / 0.5613 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.1378, allocations: 86.59 kB / 0.5614 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1379, allocations: 32.84 kB / 0.5614 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1379, allocations: 4 kB / 0.5614 GB, free: 164 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.1381, allocations: 79.38 kB / 0.5615 GB, free: 72 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1381, allocations: 0 / 0.5615 GB, free: 72 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004372/0.1385, allocations: 149.8 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.1386, allocations: 51.41 kB / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.1388, allocations: 206.3 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.1388, allocations: 37.58 kB / 0.5619 GB, free: 15.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.1389, allocations: 112.1 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.1389, allocations: 39.64 kB / 0.5621 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.139, allocations: 25.72 kB / 0.5621 GB, free: 15.42 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1391, allocations: 326.8 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.912e-05/0.1392, allocations: 31.97 kB / 0.5624 GB, free: 15.06 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.1393, allocations: 64.41 kB / 0.5625 GB, free: 14.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.1395, allocations: 104.2 kB / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1395, allocations: 0 / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000365/0.1399, allocations: 137.5 kB / 0.5627 GB, free: 14.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1399, allocations: 4 kB / 0.5627 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1399, allocations: 4 kB / 0.5627 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1399, allocations: 3.938 kB / 0.5627 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.14, allocations: 35.92 kB / 0.5628 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1401, allocations: 0 / 0.5628 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.191e-05/0.1401, allocations: 11.95 kB / 0.5628 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1401, allocations: 4 kB / 0.5628 GB, free: 14.66 MB / 430.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.0001205/0.1403, allocations: 140 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.1403, allocations: 15.91 kB / 0.5629 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.1403, allocations: 25.33 kB / 0.563 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1403, allocations: 0 / 0.563 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1404, allocations: 3.938 kB / 0.563 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.1404, allocations: 0 / 0.563 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.1406, allocations: 209.6 kB / 0.5632 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1406, allocations: 0 / 0.5632 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.121e-05/0.1407, allocations: 11.98 kB / 0.5632 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1407, allocations: 96 / 0.5632 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.1407, allocations: 11.88 kB / 0.5632 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1407, allocations: 4 kB / 0.5632 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1407, allocations: 0 / 0.5632 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.1411, allocations: 180.9 kB / 0.5634 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.284e-05/0.1411, allocations: 93.03 kB / 0.5634 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.1412, allocations: 7.938 kB / 0.5635 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.361e-05/0.1412, allocations: 4 kB / 0.5635 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.1413, allocations: 12.05 kB / 0.5635 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.1413, allocations: 4 kB / 0.5635 GB, free: 13.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.1414, allocations: 144.4 kB / 0.5636 GB, free: 13.71 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1414, allocations: 0 / 0.5636 GB, free: 13.71 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.1417, allocations: 27.94 kB / 0.5636 GB, free: 13.69 MB / 430.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.002123/0.1438, allocations: 1.027 MB / 0.5646 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002729/0.1441, allocations: 79.83 kB / 0.5647 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1441, allocations: 0 / 0.5647 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.1442, allocations: 31.92 kB / 0.5647 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1445, allocations: 42.91 kB / 0.5648 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.1469, allocations: 1.767 MB / 0.5665 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.1473, allocations: 0.7123 MB / 0.5672 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.793e-05/0.1474, allocations: 25.41 kB / 0.5672 GB, free: 10.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.086e-05/0.1475, allocations: 47.41 kB / 0.5673 GB, free: 9.961 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1475, allocations: 0 / 0.5673 GB, free: 9.961 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.1687, allocations: 3.879 MB / 0.5711 GB, free: 6.164 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.564/8.733, allocations: 12 kB / 0.5711 GB, free: 6.152 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.994543073000386]