Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.001987/0.001987, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.001919/0.001919, allocations: 213 kB / 23 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 207.6 MB / 233.8 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2583/0.2583, allocations: 44.25 MB / 330.3 MB, free: 9.617 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002402/0.002402, allocations: 75.89 kB / 467.6 MB, free: 4.477 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1286, allocations: 61.05 MB / 0.5162 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003661/0.1323, allocations: 1.719 MB / 0.5179 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1337, allocations: 0.8273 MB / 0.5187 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.7e-05/0.1338, allocations: 7.938 kB / 0.5187 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.1342, allocations: 35.83 kB / 0.5187 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.1344, allocations: 59.7 kB / 0.5188 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.1347, allocations: 91.75 kB / 0.5189 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.135, allocations: 103.7 kB / 0.519 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.1351, allocations: 4.219 kB / 0.519 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1352, allocations: 47.78 kB / 0.519 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.155e-05/0.1353, allocations: 35.78 kB / 0.5191 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.1353, allocations: 4 kB / 0.5191 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1354, allocations: 39.98 kB / 0.5191 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.181e-05/0.1355, allocations: 23.91 kB / 0.5191 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.1356, allocations: 31.75 kB / 0.5192 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.1358, allocations: 111.6 kB / 0.5193 GB, free: 4.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1358, allocations: 0 / 0.5193 GB, free: 4.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1358, allocations: 4 kB / 0.5193 GB, free: 4.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1358, allocations: 0 / 0.5193 GB, free: 4.133 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.0005492/0.1364, allocations: 333.6 kB / 0.5196 GB, free: 3.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1364, allocations: 16.02 kB / 0.5196 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.188e-05/0.1364, allocations: 30.75 kB / 0.5196 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.1365, allocations: 16.78 kB / 0.5196 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.1367, allocations: 150.3 kB / 0.5198 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1368, allocations: 384 / 0.5198 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.1368, allocations: 7.938 kB / 0.5198 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1369, allocations: 57.67 kB / 0.5199 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.137, allocations: 3.938 kB / 0.5199 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.137, allocations: 0 / 0.5199 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.137, allocations: 0 / 0.5199 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.1371, allocations: 23.98 kB / 0.5199 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.1375, allocations: 255.9 kB / 0.5201 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.1377, allocations: 66.59 kB / 0.5202 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.1378, allocations: 16.86 kB / 0.5202 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1378, allocations: 0 / 0.5202 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.138, allocations: 71.33 kB / 0.5203 GB, free: 2.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.138, allocations: 0 / 0.5203 GB, free: 2.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005384/0.1385, allocations: 169.4 kB / 0.5204 GB, free: 2.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1385, allocations: 55.41 kB / 0.5205 GB, free: 2.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.1387, allocations: 194 kB / 0.5207 GB, free: 2.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1388, allocations: 29.7 kB / 0.5207 GB, free: 2.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.1388, allocations: 104.1 kB / 0.5208 GB, free: 2.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.1388, allocations: 23.8 kB / 0.5208 GB, free: 2.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.1389, allocations: 25.64 kB / 0.5208 GB, free: 2.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.139, allocations: 322.8 kB / 0.5212 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.94e-05/0.1391, allocations: 27.98 kB / 0.5212 GB, free: 1.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.606e-05/0.1392, allocations: 34.03 kB / 0.5212 GB, free: 1.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.1394, allocations: 65.69 kB / 0.5213 GB, free: 1.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1394, allocations: 0 / 0.5213 GB, free: 1.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001897/0.1395, allocations: 105.5 kB / 0.5214 GB, free: 1.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1396, allocations: 4 kB / 0.5214 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1396, allocations: 8.031 kB / 0.5214 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1396, allocations: 0 / 0.5214 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.307e-05/0.1397, allocations: 12 kB / 0.5214 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1397, allocations: 0 / 0.5214 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.913e-05/0.1397, allocations: 15.92 kB / 0.5214 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1397, allocations: 7.938 kB / 0.5214 GB, free: 1.719 MB / 398.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.000102/0.1398, allocations: 117.8 kB / 0.5215 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.1398, allocations: 11.89 kB / 0.5215 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.1401, allocations: 114.4 kB / 0.5217 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1401, allocations: 4 kB / 0.5217 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1401, allocations: 0 / 0.5217 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.1401, allocations: 7.922 kB / 0.5217 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004514/0.1405, allocations: 362.4 kB / 0.522 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1405, allocations: 0 / 0.522 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.1406, allocations: 11.98 kB / 0.522 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1406, allocations: 3.938 kB / 0.522 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.1406, allocations: 0 / 0.522 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1406, allocations: 8.031 kB / 0.522 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1406, allocations: 0 / 0.522 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.1408, allocations: 208.6 kB / 0.5222 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.1409, allocations: 11.91 kB / 0.5222 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.1409, allocations: 7.922 kB / 0.5223 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.141, allocations: 4 kB / 0.5223 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.141, allocations: 11.98 kB / 0.5223 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.141, allocations: 4 kB / 0.5223 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002105/0.1412, allocations: 135.2 kB / 0.5224 GB, free: 0.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1412, allocations: 4 kB / 0.5224 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1415, allocations: 27.92 kB / 0.5224 GB, free: 0.5938 MB / 398.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.002221/0.1437, allocations: 1.081 MB / 0.5235 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.1439, allocations: 59.91 kB / 0.5235 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1439, allocations: 4.062 kB / 0.5235 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.163e-05/0.144, allocations: 23.98 kB / 0.5236 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.1443, allocations: 31.92 kB / 0.5236 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.1462, allocations: 1.634 MB / 0.5252 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.1466, allocations: 0.7041 MB / 0.5259 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.361e-05/0.1466, allocations: 17.27 kB / 0.5259 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.706e-05/0.1467, allocations: 35.42 kB / 0.5259 GB, free: 12.91 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1467, allocations: 0 / 0.5259 GB, free: 12.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.1784, allocations: 3.558 MB / 0.5294 GB, free: 9.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.43, allocations: 9 kB / 0.5294 GB, free: 9.25 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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: 14.931074594845995]