Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001361/0.001361, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001522/0.001522, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.512/1.512, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2318/0.2318, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.Test40,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 59.91 kB / 0.491 GB, free: 7.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1346, allocations: 65.99 MB / 0.5555 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003281/0.1378, allocations: 1.745 MB / 0.5572 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.1396, allocations: 1.023 MB / 0.5582 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.031e-05/0.1397, allocations: 8 kB / 0.5582 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.14, allocations: 83.69 kB / 0.5582 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.1403, allocations: 115.5 kB / 0.5584 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.1405, allocations: 75.73 kB / 0.5584 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.1407, allocations: 123.5 kB / 0.5585 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.686e-05/0.1408, allocations: 12 kB / 0.5586 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.141, allocations: 55.77 kB / 0.5586 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.1411, allocations: 63.81 kB / 0.5587 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.1411, allocations: 4 kB / 0.5587 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1412, allocations: 51.91 kB / 0.5587 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.1413, allocations: 27.86 kB / 0.5588 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.1413, allocations: 35.73 kB / 0.5588 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.1416, allocations: 123.4 kB / 0.5589 GB, free: 2.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1416, allocations: 0 / 0.5589 GB, free: 2.184 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1416, allocations: 0 / 0.5589 GB, free: 2.184 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.1416, allocations: 0 / 0.5589 GB, free: 2.184 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006547/0.1422, allocations: 434.5 kB / 0.5593 GB, free: 1.711 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1423, allocations: 16.03 kB / 0.5593 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.899e-05/0.1423, allocations: 30.75 kB / 0.5594 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.1424, allocations: 12.84 kB / 0.5594 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.1427, allocations: 220.1 kB / 0.5596 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1427, allocations: 384 / 0.5596 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.1427, allocations: 11.92 kB / 0.5596 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1429, allocations: 53.67 kB / 0.5596 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1429, allocations: 0 / 0.5596 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1429, allocations: 0 / 0.5596 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1429, allocations: 4 kB / 0.5597 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.024e-05/0.143, allocations: 23.92 kB / 0.5597 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.1434, allocations: 296.8 kB / 0.56 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1436, allocations: 50.67 kB / 0.56 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.1437, allocations: 16.86 kB / 0.56 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1437, allocations: 7.938 kB / 0.56 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.1439, allocations: 75.31 kB / 0.5601 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1439, allocations: 0 / 0.5601 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005961/0.1445, allocations: 177.3 kB / 0.5603 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.1445, allocations: 59.41 kB / 0.5603 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.1448, allocations: 223.3 kB / 0.5605 GB, free: 304 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.1448, allocations: 33.7 kB / 0.5606 GB, free: 264 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.1449, allocations: 108.1 kB / 0.5607 GB, free: 152 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.1449, allocations: 27.78 kB / 0.5607 GB, free: 124 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.145, allocations: 21.72 kB / 0.5607 GB, free: 96 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1452, allocations: 326.8 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.857e-05/0.1452, allocations: 15.98 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.662e-05/0.1453, allocations: 41.64 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.1454, allocations: 61.66 kB / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1454, allocations: 384 / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002067/0.1456, allocations: 109.6 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1456, allocations: 4 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1457, allocations: 3.938 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.1457, allocations: 8 kB / 0.5613 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.693e-05/0.1458, allocations: 19.98 kB / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1458, allocations: 0 / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.1458, allocations: 11.97 kB / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1458, allocations: 0 / 0.5613 GB, free: 15.48 MB / 430.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.0001323/0.146, allocations: 132 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.146, allocations: 15.91 kB / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.146, allocations: 13.41 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.146, allocations: 3.984 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.146, allocations: 4 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.1461, allocations: 3.938 kB / 0.5615 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.1465, allocations: 395.3 kB / 0.5618 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1465, allocations: 0 / 0.5618 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.1466, allocations: 15.92 kB / 0.5619 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1466, allocations: 3.938 kB / 0.5619 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1466, allocations: 8 kB / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1466, allocations: 0 / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1466, allocations: 3.938 kB / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.1468, allocations: 200.3 kB / 0.5621 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.1469, allocations: 85.06 kB / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.1469, allocations: 15.92 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.147, allocations: 0 / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.147, allocations: 4 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1471, allocations: 7.984 kB / 0.5622 GB, free: 14.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.1472, allocations: 165.2 kB / 0.5623 GB, free: 14.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1472, allocations: 3.938 kB / 0.5623 GB, free: 14.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1475, allocations: 27.94 kB / 0.5624 GB, free: 14.28 MB / 430.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.002226/0.1497, allocations: 1.092 MB / 0.5634 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.1499, allocations: 55.91 kB / 0.5635 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1499, allocations: 0 / 0.5635 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.216e-05/0.15, allocations: 36 kB / 0.5635 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.1503, allocations: 43.17 kB / 0.5636 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.1524, allocations: 1.715 MB / 0.5652 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.1528, allocations: 0.708 MB / 0.5659 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.339e-05/0.1529, allocations: 16.88 kB / 0.5659 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.1529, allocations: 35.42 kB / 0.566 GB, free: 10.62 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1529, allocations: 0 / 0.566 GB, free: 10.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/0.1804, allocations: 3.592 MB / 0.5695 GB, free: 7.098 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.32, allocations: 8 kB / 0.5695 GB, free: 7.09 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.474729829933494]