Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001279/0.001279, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001405/0.001405, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.615/1.615, allocations: 230.6 MB / 254.1 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.2318/0.2318, allocations: 44.91 MB / 355.1 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.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",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.001896/0.001896, allocations: 71.89 kB / 499.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.128, allocations: 65.42 MB / 0.5518 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003115/0.1311, allocations: 1.7 MB / 0.5535 GB, free: 8.355 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1328, allocations: 1.019 MB / 0.5545 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.061e-05/0.1328, allocations: 0 / 0.5545 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.1331, allocations: 79.7 kB / 0.5546 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.1334, allocations: 119.6 kB / 0.5547 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.1336, allocations: 75.67 kB / 0.5547 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.1338, allocations: 107.7 kB / 0.5548 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.1338, allocations: 4.234 kB / 0.5548 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.803e-05/0.1339, allocations: 59.7 kB / 0.5549 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.134, allocations: 59.75 kB / 0.555 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.134, allocations: 4 kB / 0.555 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.199e-05/0.1341, allocations: 35.98 kB / 0.555 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.051e-05/0.1342, allocations: 19.92 kB / 0.555 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.068e-05/0.1342, allocations: 39.73 kB / 0.5551 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.1344, allocations: 111.7 kB / 0.5552 GB, free: 6.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1344, allocations: 0 / 0.5552 GB, free: 6.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1344, allocations: 3.984 kB / 0.5552 GB, free: 6.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.956e-06/0.1344, allocations: 0 / 0.5552 GB, free: 6.625 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005447/0.135, allocations: 422.6 kB / 0.5556 GB, free: 6.164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.135, allocations: 8.031 kB / 0.5556 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.698e-05/0.135, allocations: 34.73 kB / 0.5556 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.1351, allocations: 16.84 kB / 0.5556 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.1354, allocations: 224.1 kB / 0.5558 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1354, allocations: 384 / 0.5558 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.1354, allocations: 7.938 kB / 0.5558 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.1355, allocations: 49.61 kB / 0.5559 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1355, allocations: 0 / 0.5559 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.1355, allocations: 0 / 0.5559 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1356, allocations: 0 / 0.5559 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.456e-05/0.1356, allocations: 12 kB / 0.5559 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.1359, allocations: 193.7 kB / 0.5561 GB, free: 5.527 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1361, allocations: 54.5 kB / 0.5561 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.1361, allocations: 20.84 kB / 0.5562 GB, free: 5.441 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.1361, allocations: 0 / 0.5562 GB, free: 5.441 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.1363, allocations: 63.33 kB / 0.5562 GB, free: 5.367 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.1363, allocations: 4 kB / 0.5562 GB, free: 5.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002843/0.1366, allocations: 101.6 kB / 0.5563 GB, free: 5.258 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.1366, allocations: 51.41 kB / 0.5564 GB, free: 5.195 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.1368, allocations: 227.4 kB / 0.5566 GB, free: 4.957 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.1369, allocations: 29.7 kB / 0.5566 GB, free: 4.922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.1369, allocations: 104.1 kB / 0.5567 GB, free: 4.816 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.137, allocations: 7.953 kB / 0.5567 GB, free: 4.809 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.137, allocations: 29.58 kB / 0.5568 GB, free: 4.773 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1372, allocations: 330.8 kB / 0.5571 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.142e-05/0.1372, allocations: 12 kB / 0.5571 GB, free: 4.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.561e-05/0.1373, allocations: 25.7 kB / 0.5571 GB, free: 4.398 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.921e-05/0.1374, allocations: 45.7 kB / 0.5571 GB, free: 4.348 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1374, allocations: 3.938 kB / 0.5572 GB, free: 4.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001671/0.1375, allocations: 89.53 kB / 0.5572 GB, free: 4.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1375, allocations: 4 kB / 0.5572 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1376, allocations: 0 / 0.5572 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1376, allocations: 0 / 0.5572 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/0.1376, allocations: 15.98 kB / 0.5573 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1377, allocations: 0 / 0.5573 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.174e-05/0.1377, allocations: 0 / 0.5573 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.1377, allocations: 8 kB / 0.5573 GB, free: 4.223 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 (7): * Single equations (assignments): 7 * 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.0001072/0.1378, allocations: 135.9 kB / 0.5574 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.1378, allocations: 19.92 kB / 0.5574 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.1379, allocations: 13 kB / 0.5574 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1379, allocations: 4 kB / 0.5574 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1379, allocations: 0 / 0.5574 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1379, allocations: 3.984 kB / 0.5574 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.1381, allocations: 189.6 kB / 0.5576 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1381, allocations: 0 / 0.5576 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.1381, allocations: 4 kB / 0.5576 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1381, allocations: 3.984 kB / 0.5576 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1381, allocations: 4.312 kB / 0.5576 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1381, allocations: 0 / 0.5576 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.1381, allocations: 8 kB / 0.5576 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.1383, allocations: 113 kB / 0.5577 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.1384, allocations: 89 kB / 0.5578 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.1384, allocations: 0 / 0.5578 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.879e-05/0.1384, allocations: 11.94 kB / 0.5578 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.1384, allocations: 7.922 kB / 0.5578 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1385, allocations: 4 kB / 0.5578 GB, free: 3.527 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.1386, allocations: 169.2 kB / 0.558 GB, free: 3.363 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1386, allocations: 0 / 0.558 GB, free: 3.363 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.1388, allocations: 15.95 kB / 0.558 GB, free: 3.348 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001836/0.1407, allocations: 0.9445 MB / 0.5589 GB, free: 2.531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.1408, allocations: 43.91 kB / 0.559 GB, free: 2.488 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1408, allocations: 0 / 0.559 GB, free: 2.488 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.885e-05/0.1409, allocations: 19.94 kB / 0.559 GB, free: 2.469 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.1411, allocations: 34.72 kB / 0.559 GB, free: 2.441 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.1429, allocations: 1.573 MB / 0.5606 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.1432, allocations: 0.7119 MB / 0.5613 GB, free: 48 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.08e-05/0.1433, allocations: 8.547 kB / 0.5613 GB, free: 36 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.1433, allocations: 35.42 kB / 0.5613 GB, free: 4 kB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1433, allocations: 0 / 0.5613 GB, free: 4 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.1684, allocations: 3.297 MB / 0.5645 GB, free: 12.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.806/7.975, allocations: 0 / 0.5645 GB, free: 12.77 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019972 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.350130237173289]