Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.00177/0.00177, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001709/0.001709, allocations: 215 kB / 21.45 MB, free: 1.617 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.551/1.551, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2208/0.2208, allocations: 44.91 MB / 355.8 MB, free: 12.33 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",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.002028/0.002028, allocations: 75.83 kB / 0.4886 GB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1177, allocations: 65.42 MB / 0.5525 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00376/0.1214, allocations: 1.946 MB / 0.5544 GB, free: 8.102 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.1233, allocations: 1.06 MB / 0.5554 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.716e-05/0.1234, allocations: 7.938 kB / 0.5554 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.1237, allocations: 43.7 kB / 0.5555 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.124, allocations: 103.5 kB / 0.5556 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.1242, allocations: 91.72 kB / 0.5557 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000264/0.1245, allocations: 155.5 kB / 0.5558 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.1246, allocations: 25.77 kB / 0.5558 GB, free: 6.613 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1247, allocations: 59.72 kB / 0.5559 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.1248, allocations: 51.7 kB / 0.5559 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.1248, allocations: 8 kB / 0.556 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.125, allocations: 51.92 kB / 0.556 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.125, allocations: 23.92 kB / 0.556 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.61e-05/0.1251, allocations: 55.59 kB / 0.5561 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.1254, allocations: 151.3 kB / 0.5562 GB, free: 6.219 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1254, allocations: 4 kB / 0.5562 GB, free: 6.215 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1254, allocations: 0 / 0.5562 GB, free: 6.215 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1254, allocations: 0 / 0.5562 GB, free: 6.215 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007409/0.1261, allocations: 492.1 kB / 0.5567 GB, free: 5.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1262, allocations: 8.031 kB / 0.5567 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.427e-05/0.1262, allocations: 192 / 0.5567 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.1262, allocations: 42.73 kB / 0.5567 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.1263, allocations: 16.84 kB / 0.5568 GB, free: 5.605 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.1266, allocations: 232.9 kB / 0.557 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.1266, allocations: 16.12 kB / 0.557 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.1266, allocations: 4 kB / 0.557 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.1269, allocations: 108.2 kB / 0.5571 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1269, allocations: 3.984 kB / 0.5571 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1269, allocations: 0 / 0.5571 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1269, allocations: 11.94 kB / 0.5571 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.1271, allocations: 47.91 kB / 0.5572 GB, free: 5.133 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006297/0.1277, allocations: 0.5087 MB / 0.5577 GB, free: 4.566 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.128, allocations: 82.67 kB / 0.5577 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.972e-05/0.1281, allocations: 36.83 kB / 0.5578 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1282, allocations: 0 / 0.5578 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.1284, allocations: 87.31 kB / 0.5579 GB, free: 4.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.1284, allocations: 7.938 kB / 0.5579 GB, free: 4.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003971/0.1288, allocations: 145.4 kB / 0.558 GB, free: 4.184 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.1288, allocations: 55.41 kB / 0.5581 GB, free: 4.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.129, allocations: 198.3 kB / 0.5583 GB, free: 3.914 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.129, allocations: 29.69 kB / 0.5583 GB, free: 3.879 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.61e-05/0.1291, allocations: 120 kB / 0.5584 GB, free: 3.758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.1292, allocations: 23.81 kB / 0.5584 GB, free: 3.734 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.1292, allocations: 33.7 kB / 0.5584 GB, free: 3.695 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1294, allocations: 326.8 kB / 0.5588 GB, free: 3.367 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.045e-05/0.1295, allocations: 27.98 kB / 0.5588 GB, free: 3.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.1296, allocations: 67.64 kB / 0.5589 GB, free: 3.262 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.1298, allocations: 108.1 kB / 0.559 GB, free: 3.141 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.1298, allocations: 4 kB / 0.559 GB, free: 3.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002811/0.1301, allocations: 133.4 kB / 0.5591 GB, free: 3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1301, allocations: 8.125 kB / 0.5591 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1301, allocations: 0 / 0.5591 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1301, allocations: 7.938 kB / 0.5591 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1302, allocations: 24.45 kB / 0.5591 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.1302, allocations: 0 / 0.5591 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.091e-05/0.1303, allocations: 15.89 kB / 0.5591 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.1303, allocations: 4 kB / 0.5591 GB, free: 2.941 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001153/0.1304, allocations: 138 kB / 0.5593 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.1305, allocations: 15.84 kB / 0.5593 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.397e-05/0.1305, allocations: 21.34 kB / 0.5593 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1305, allocations: 4 kB / 0.5593 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1305, allocations: 0 / 0.5593 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1305, allocations: 3.984 kB / 0.5593 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.1307, allocations: 209.6 kB / 0.5595 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1307, allocations: 0 / 0.5595 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.568e-05/0.1308, allocations: 19.94 kB / 0.5595 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1308, allocations: 0 / 0.5595 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.1308, allocations: 7.922 kB / 0.5595 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1308, allocations: 4 kB / 0.5595 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.1308, allocations: 11.98 kB / 0.5596 GB, free: 2.457 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.1312, allocations: 176.9 kB / 0.5597 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.709e-05/0.1313, allocations: 96.92 kB / 0.5598 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.1313, allocations: 3.938 kB / 0.5598 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.564e-05/0.1314, allocations: 11.98 kB / 0.5598 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.1314, allocations: 7.984 kB / 0.5598 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.1314, allocations: 4.062 kB / 0.5598 GB, free: 2.125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.1316, allocations: 148.4 kB / 0.56 GB, free: 1.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1316, allocations: 0 / 0.56 GB, free: 1.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.1318, allocations: 24 kB / 0.56 GB, free: 1.957 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002104/0.1339, allocations: 1.026 MB / 0.561 GB, free: 1.066 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002623/0.1342, allocations: 75.78 kB / 0.5611 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1342, allocations: 0 / 0.5611 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.1343, allocations: 36.16 kB / 0.5611 GB, free: 0.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.1346, allocations: 47.52 kB / 0.5612 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.1368, allocations: 1.77 MB / 0.5629 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.1371, allocations: 0.7123 MB / 0.5636 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.915e-05/0.1372, allocations: 13.42 kB / 0.5636 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.722e-05/0.1373, allocations: 47.42 kB / 0.5636 GB, free: 14.24 MB / 430.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1373, allocations: 4 kB / 0.5637 GB, free: 14.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.1581, allocations: 3.887 MB / 0.5674 GB, free: 10.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.459/8.618, allocations: 14.11 kB / 0.5675 GB, free: 10.42 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.832051742007025]