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.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.001672/0.001672, allocations: 116.9 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.001463/0.001463, allocations: 217.4 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.524/1.524, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.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.2367/0.2367, allocations: 44.9 MB / 355.8 MB, free: 12.35 MB / 286.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.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 71.91 kB / 0.4886 GB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1424, allocations: 65.42 MB / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003666/0.146, allocations: 1.727 MB / 0.5542 GB, free: 8.328 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.1479, allocations: 1.036 MB / 0.5552 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.052e-05/0.148, allocations: 7.875 kB / 0.5552 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.1483, allocations: 39.7 kB / 0.5553 GB, free: 7.242 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.1487, allocations: 95.59 kB / 0.5554 GB, free: 7.148 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.1489, allocations: 79.67 kB / 0.5554 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.1491, allocations: 95.75 kB / 0.5555 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1492, allocations: 12.27 kB / 0.5555 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1493, allocations: 47.73 kB / 0.5556 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.061e-05/0.1494, allocations: 43.77 kB / 0.5556 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.1494, allocations: 4 kB / 0.5556 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.1496, allocations: 43.98 kB / 0.5557 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.181e-05/0.1496, allocations: 19.92 kB / 0.5557 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.031e-05/0.1497, allocations: 35.73 kB / 0.5557 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.1499, allocations: 111.5 kB / 0.5558 GB, free: 6.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1499, allocations: 0 / 0.5558 GB, free: 6.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1499, allocations: 3.938 kB / 0.5558 GB, free: 6.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1499, allocations: 0 / 0.5558 GB, free: 6.66 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.0006643/0.1506, allocations: 418.7 kB / 0.5562 GB, free: 6.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1506, allocations: 8.031 kB / 0.5562 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.316e-05/0.1507, allocations: 192 / 0.5562 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.1507, allocations: 38.75 kB / 0.5563 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.1507, allocations: 8.891 kB / 0.5563 GB, free: 6.141 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.1511, allocations: 207.6 kB / 0.5565 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.1511, allocations: 4.125 kB / 0.5565 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.1511, allocations: 8 kB / 0.5565 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1513, allocations: 61.61 kB / 0.5566 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1513, allocations: 4 kB / 0.5566 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.1513, allocations: 0 / 0.5566 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.1513, allocations: 0 / 0.5566 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.1514, allocations: 19.98 kB / 0.5566 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.1518, allocations: 284.8 kB / 0.5568 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.152, allocations: 54.61 kB / 0.5569 GB, free: 5.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/0.1521, allocations: 28.78 kB / 0.5569 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1521, allocations: 0 / 0.5569 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.1522, allocations: 71.38 kB / 0.557 GB, free: 5.297 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.276e-06/0.1522, allocations: 3.984 kB / 0.557 GB, free: 5.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005868/0.1528, allocations: 177.3 kB / 0.5572 GB, free: 5.113 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.1529, allocations: 51.41 kB / 0.5572 GB, free: 5.051 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.1531, allocations: 176.4 kB / 0.5574 GB, free: 4.867 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1531, allocations: 25.7 kB / 0.5574 GB, free: 4.836 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/0.1532, allocations: 100.1 kB / 0.5575 GB, free: 4.734 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.1532, allocations: 19.86 kB / 0.5575 GB, free: 4.715 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.1532, allocations: 25.7 kB / 0.5575 GB, free: 4.684 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1534, allocations: 330.8 kB / 0.5579 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.857e-05/0.1535, allocations: 12 kB / 0.5579 GB, free: 4.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-05/0.1536, allocations: 45.64 kB / 0.5579 GB, free: 4.289 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.1537, allocations: 61.77 kB / 0.558 GB, free: 4.223 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1537, allocations: 0 / 0.558 GB, free: 4.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002146/0.1539, allocations: 105.5 kB / 0.5581 GB, free: 4.113 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1539, allocations: 4 kB / 0.5581 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1539, allocations: 0 / 0.5581 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1539, allocations: 4 kB / 0.5581 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.959e-05/0.154, allocations: 20.02 kB / 0.5581 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.154, allocations: 3.938 kB / 0.5581 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.1541, allocations: 8 kB / 0.5581 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.1541, allocations: 0 / 0.5581 GB, free: 4.074 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.0001302/0.1542, allocations: 126.6 kB / 0.5582 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.1543, allocations: 7.953 kB / 0.5582 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.1543, allocations: 12.72 kB / 0.5583 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1543, allocations: 4 kB / 0.5583 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.1543, allocations: 8.297 kB / 0.5583 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1543, allocations: 4 kB / 0.5583 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005303/0.1548, allocations: 399.2 kB / 0.5587 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1548, allocations: 0 / 0.5587 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.1549, allocations: 8 kB / 0.5587 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1549, allocations: 3.938 kB / 0.5587 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1549, allocations: 8 kB / 0.5587 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1549, allocations: 7.922 kB / 0.5587 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1549, allocations: 0 / 0.5587 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.1552, allocations: 200.3 kB / 0.5589 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.1552, allocations: 92.95 kB / 0.559 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.1553, allocations: 4 kB / 0.559 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/0.1553, allocations: 4 kB / 0.559 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.1554, allocations: 7.984 kB / 0.559 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.1554, allocations: 4 kB / 0.559 GB, free: 3.086 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.1555, allocations: 135.2 kB / 0.5591 GB, free: 2.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1555, allocations: 0 / 0.5591 GB, free: 2.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.1558, allocations: 23.98 kB / 0.5591 GB, free: 2.93 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.002281/0.1581, allocations: 1.093 MB / 0.5602 GB, free: 2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.1583, allocations: 63.94 kB / 0.5603 GB, free: 1.938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1583, allocations: 3.938 kB / 0.5603 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.583e-05/0.1584, allocations: 28.05 kB / 0.5603 GB, free: 1.906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.1587, allocations: 34.05 kB / 0.5603 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.1606, allocations: 1.593 MB / 0.5619 GB, free: 188 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.161, allocations: 0.7041 MB / 0.5626 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.486e-05/0.1611, allocations: 12.88 kB / 0.5626 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.147e-05/0.1611, allocations: 35.42 kB / 0.5626 GB, free: 15.4 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1611, allocations: 0 / 0.5626 GB, free: 15.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.1806, allocations: 3.395 MB / 0.5659 GB, free: 12.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.269/8.45, allocations: 13 kB / 0.5659 GB, free: 12.07 MB / 430.1 MB " [Timeout remaining time 651] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.782721774012316]