Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 119 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 190.9 kB / 21.44 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.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.2239/0.2239, allocations: 44.92 MB / 349.6 MB, free: 1.734 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 67.16 kB / 491.9 MB, free: 30.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1166, allocations: 64.25 MB / 0.5431 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003169/0.1198, allocations: 1.715 MB / 0.5448 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.1213, allocations: 0.8885 MB / 0.5456 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.1214, allocations: 0 / 0.5456 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.1217, allocations: 91.69 kB / 0.5457 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.122, allocations: 71.72 kB / 0.5458 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.1223, allocations: 119.2 kB / 0.5459 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.1224, allocations: 107.7 kB / 0.546 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1226, allocations: 8.5 kB / 0.546 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.1227, allocations: 51.77 kB / 0.5461 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.1228, allocations: 59.81 kB / 0.5461 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.1228, allocations: 4 kB / 0.5461 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.978e-05/0.1229, allocations: 43.92 kB / 0.5462 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.1229, allocations: 27.84 kB / 0.5462 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.123, allocations: 35.73 kB / 0.5462 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.1232, allocations: 123.5 kB / 0.5463 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1232, allocations: 0 / 0.5463 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1232, allocations: 0 / 0.5463 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1232, allocations: 0 / 0.5463 GB, free: 0.6797 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.0005841/0.1238, allocations: 426.6 kB / 0.5467 GB, free: 220 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1238, allocations: 11.97 kB / 0.5468 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.1239, allocations: 38.75 kB / 0.5468 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.1239, allocations: 12.84 kB / 0.5468 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.1242, allocations: 212.1 kB / 0.547 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1242, allocations: 4.375 kB / 0.547 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.1243, allocations: 15.89 kB / 0.547 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1244, allocations: 49.67 kB / 0.5471 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1244, allocations: 0 / 0.5471 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1244, allocations: 4 kB / 0.5471 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1244, allocations: 0 / 0.5471 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.787e-05/0.1245, allocations: 23.92 kB / 0.5471 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.1249, allocations: 288.9 kB / 0.5474 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.125, allocations: 54.69 kB / 0.5474 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.1251, allocations: 20.84 kB / 0.5474 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1251, allocations: 0 / 0.5474 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.1253, allocations: 67.33 kB / 0.5475 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1253, allocations: 4 kB / 0.5475 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005386/0.1258, allocations: 181.3 kB / 0.5477 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.1259, allocations: 51.41 kB / 0.5477 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.1261, allocations: 215.5 kB / 0.5479 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1261, allocations: 25.7 kB / 0.548 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.1262, allocations: 104.1 kB / 0.5481 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.1262, allocations: 31.77 kB / 0.5481 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.1263, allocations: 25.72 kB / 0.5481 GB, free: 14.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.1265, allocations: 326.8 kB / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.859e-05/0.1265, allocations: 23.98 kB / 0.5485 GB, free: 14.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.599e-05/0.1266, allocations: 33.7 kB / 0.5485 GB, free: 14.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.1267, allocations: 62.02 kB / 0.5485 GB, free: 14.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1267, allocations: 0 / 0.5485 GB, free: 14.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001907/0.1269, allocations: 101.6 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1269, allocations: 8 kB / 0.5487 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1269, allocations: 4 kB / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1269, allocations: 3.938 kB / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.127, allocations: 15.98 kB / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.127, allocations: 0 / 0.5487 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.334e-05/0.1271, allocations: 8.125 kB / 0.5487 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1271, allocations: 4 kB / 0.5487 GB, free: 14.02 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.0001091/0.1272, allocations: 131.5 kB / 0.5488 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.1272, allocations: 27.83 kB / 0.5488 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/0.1273, allocations: 17.39 kB / 0.5489 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1273, allocations: 4 kB / 0.5489 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1273, allocations: 0 / 0.5489 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1273, allocations: 3.938 kB / 0.5489 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004664/0.1277, allocations: 391.3 kB / 0.5492 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1277, allocations: 0 / 0.5492 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.1278, allocations: 11.94 kB / 0.5492 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1278, allocations: 3.969 kB / 0.5493 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1278, allocations: 11.98 kB / 0.5493 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1278, allocations: 0 / 0.5493 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1278, allocations: 0 / 0.5493 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.128, allocations: 200.3 kB / 0.5495 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.1281, allocations: 85.06 kB / 0.5495 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.1281, allocations: 7.938 kB / 0.5495 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.1282, allocations: 11.98 kB / 0.5496 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.1282, allocations: 4 kB / 0.5496 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.1282, allocations: 4 kB / 0.5496 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.1284, allocations: 159.2 kB / 0.5497 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1284, allocations: 0 / 0.5497 GB, free: 12.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1286, allocations: 23.92 kB / 0.5497 GB, free: 12.84 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.002131/0.1307, allocations: 1.098 MB / 0.5508 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.1309, allocations: 59.91 kB / 0.5509 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1309, allocations: 3.938 kB / 0.5509 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.876e-05/0.131, allocations: 27.92 kB / 0.5509 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.1313, allocations: 30.64 kB / 0.5509 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.1333, allocations: 1.689 MB / 0.5526 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.1337, allocations: 0.7119 MB / 0.5533 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.094e-05/0.1337, allocations: 16.8 kB / 0.5533 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.901e-05/0.1338, allocations: 39.41 kB / 0.5533 GB, free: 9.223 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1338, allocations: 0 / 0.5533 GB, free: 9.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.1582, allocations: 3.513 MB / 0.5568 GB, free: 5.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.993/8.151, allocations: 10.94 kB / 0.5568 GB, free: 5.734 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.176608748733997]