Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.001756/0.001756, allocations: 109 kB / 20.48 MB, free: 1.477 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.002537/0.002537, allocations: 209.7 kB / 23.79 MB, free: 4.688 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.78/1.78, allocations: 207.6 MB / 234.6 MB, free: 9.98 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.2432/0.2432, allocations: 44.24 MB / 331.1 MB, free: 9.512 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.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",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.002818/0.002818, allocations: 67.91 kB / 468.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1298, allocations: 61.04 MB / 0.517 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003866/0.1336, allocations: 1.865 MB / 0.5188 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.1354, allocations: 0.9247 MB / 0.5197 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.1355, allocations: 3.938 kB / 0.5197 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005851/0.1361, allocations: 251.4 kB / 0.5199 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004625/0.1366, allocations: 187.4 kB / 0.5201 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005152/0.1371, allocations: 155.6 kB / 0.5203 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004508/0.1375, allocations: 251.2 kB / 0.5205 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.1377, allocations: 17.72 kB / 0.5205 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.138, allocations: 127.6 kB / 0.5206 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.1383, allocations: 203.4 kB / 0.5208 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.485e-05/0.1383, allocations: 8 kB / 0.5208 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.1385, allocations: 39.98 kB / 0.5209 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.1386, allocations: 71.69 kB / 0.521 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.1387, allocations: 87.25 kB / 0.521 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.1391, allocations: 226.9 kB / 0.5213 GB, free: 2.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1391, allocations: 0 / 0.5213 GB, free: 2.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1391, allocations: 0 / 0.5213 GB, free: 2.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1391, allocations: 0 / 0.5213 GB, free: 2.855 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008664/0.1399, allocations: 0.4886 MB / 0.5217 GB, free: 2.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.14, allocations: 11.97 kB / 0.5217 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.262e-05/0.14, allocations: 8.188 kB / 0.5217 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.441e-05/0.1401, allocations: 38.73 kB / 0.5218 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.783e-05/0.1401, allocations: 28.75 kB / 0.5218 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.1406, allocations: 222.5 kB / 0.522 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.1406, allocations: 4.125 kB / 0.522 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.1406, allocations: 11.97 kB / 0.522 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.1409, allocations: 103.2 kB / 0.5221 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1409, allocations: 0 / 0.5221 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.1409, allocations: 8 kB / 0.5221 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1409, allocations: 4 kB / 0.5222 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.1411, allocations: 35.97 kB / 0.5222 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006422/0.1417, allocations: 431.9 kB / 0.5226 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.142, allocations: 109.4 kB / 0.5227 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.964e-05/0.1421, allocations: 41.64 kB / 0.5227 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.1421, allocations: 4 kB / 0.5227 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.1424, allocations: 113.1 kB / 0.5229 GB, free: 1.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.924e-06/0.1424, allocations: 0 / 0.5229 GB, free: 1.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001061/0.1435, allocations: 388.4 kB / 0.5232 GB, free: 0.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.1435, allocations: 77.11 kB / 0.5233 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006403/0.1442, allocations: 485.6 kB / 0.5238 GB, free: 92 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.1442, allocations: 29.7 kB / 0.5238 GB, free: 56 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.1444, allocations: 168.3 kB / 0.5239 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.1445, allocations: 47.62 kB / 0.524 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.877e-05/0.1445, allocations: 37.7 kB / 0.524 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1447, allocations: 342.8 kB / 0.5244 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.1449, allocations: 43.97 kB / 0.5244 GB, free: 15.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.145, allocations: 71.36 kB / 0.5245 GB, free: 15.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.1452, allocations: 119.5 kB / 0.5246 GB, free: 15.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1452, allocations: 4 kB / 0.5246 GB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003763/0.1456, allocations: 189.3 kB / 0.5248 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1456, allocations: 7.938 kB / 0.5248 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.1457, allocations: 4.062 kB / 0.5248 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.1457, allocations: 7.938 kB / 0.5248 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.1458, allocations: 31.98 kB / 0.5248 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1458, allocations: 7.875 kB / 0.5248 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.231e-05/0.1459, allocations: 8 kB / 0.5248 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.1459, allocations: 4 kB / 0.5248 GB, free: 14.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001809/0.1461, allocations: 173.8 kB / 0.525 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/0.1462, allocations: 31.81 kB / 0.525 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.1466, allocations: 220.4 kB / 0.5252 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.1466, allocations: 3.938 kB / 0.5252 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1466, allocations: 4.75 kB / 0.5252 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1467, allocations: 0 / 0.5252 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008938/0.1475, allocations: 0.596 MB / 0.5258 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1475, allocations: 0 / 0.5258 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.246e-05/0.1476, allocations: 28 kB / 0.5259 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1476, allocations: 0 / 0.5259 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.1476, allocations: 11.98 kB / 0.5259 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1476, allocations: 4 kB / 0.5259 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1476, allocations: 0 / 0.5259 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.1481, allocations: 368.2 kB / 0.5262 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.1481, allocations: 27.8 kB / 0.5263 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.1481, allocations: 8 kB / 0.5263 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.1483, allocations: 11.92 kB / 0.5263 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.1483, allocations: 11.98 kB / 0.5263 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.1483, allocations: 11.98 kB / 0.5263 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003514/0.1487, allocations: 355.1 kB / 0.5266 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1487, allocations: 0 / 0.5266 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003401/0.149, allocations: 51.92 kB / 0.5267 GB, free: 12.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002582/0.1516, allocations: 1.258 MB / 0.5279 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003181/0.1519, allocations: 111.8 kB / 0.528 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1519, allocations: 0 / 0.528 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.1521, allocations: 59.97 kB / 0.5281 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.1526, allocations: 58.02 kB / 0.5281 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003691/0.1563, allocations: 2.741 MB / 0.5308 GB, free: 8.625 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.1568, allocations: 0.771 MB / 0.5316 GB, free: 7.828 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.1569, allocations: 37.92 kB / 0.5316 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.1571, allocations: 83.41 kB / 0.5317 GB, free: 7.715 MB / 414.1 MB Notification: Performance of SimCode: time 1.884e-06/0.1571, allocations: 0 / 0.5317 GB, free: 7.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.1865, allocations: 6.248 MB / 0.5378 GB, free: 1.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.72, allocations: 24.03 kB / 0.5378 GB, free: 1.344 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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: 15.543891470006201]