Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001365/0.001365, allocations: 113 kB / 18.49 MB, free: 4.539 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.00157/0.00157, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.585/1.585, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.225/0.225, 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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",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.00207/0.00207, allocations: 63.91 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1359, allocations: 65.42 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003412/0.1393, allocations: 1.61 MB / 0.554 GB, free: 8.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1404, allocations: 0.5532 MB / 0.5546 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.586e-05/0.1405, allocations: 0 / 0.5546 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.1408, allocations: 95.75 kB / 0.5547 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003653/0.1412, allocations: 115.5 kB / 0.5548 GB, free: 7.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.1416, allocations: 87.22 kB / 0.5549 GB, free: 7.648 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.1418, allocations: 91.73 kB / 0.555 GB, free: 7.559 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1419, allocations: 15.92 kB / 0.555 GB, free: 7.543 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.771e-05/0.142, allocations: 43.89 kB / 0.555 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.1421, allocations: 55.77 kB / 0.5551 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1421, allocations: 7.984 kB / 0.5551 GB, free: 7.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.1423, allocations: 43.98 kB / 0.5551 GB, free: 7.395 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.1423, allocations: 23.92 kB / 0.5551 GB, free: 7.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.1424, allocations: 39.67 kB / 0.5552 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.1427, allocations: 107.5 kB / 0.5553 GB, free: 7.227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1427, allocations: 0 / 0.5553 GB, free: 7.227 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1427, allocations: 0 / 0.5553 GB, free: 7.227 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1427, allocations: 0 / 0.5553 GB, free: 7.227 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006442/0.1433, allocations: 426.6 kB / 0.5557 GB, free: 6.762 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1434, allocations: 12.03 kB / 0.5557 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.029e-05/0.1434, allocations: 4.172 kB / 0.5557 GB, free: 6.746 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.46e-05/0.1435, allocations: 30.75 kB / 0.5557 GB, free: 6.707 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.1435, allocations: 16.84 kB / 0.5557 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.1438, allocations: 200.1 kB / 0.5559 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1438, allocations: 4.375 kB / 0.5559 GB, free: 6.453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.1438, allocations: 12.08 kB / 0.5559 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.144, allocations: 53.67 kB / 0.556 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.144, allocations: 7.938 kB / 0.556 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.144, allocations: 7.938 kB / 0.556 GB, free: 6.367 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.144, allocations: 4 kB / 0.556 GB, free: 6.363 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.1441, allocations: 23.97 kB / 0.556 GB, free: 6.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.1446, allocations: 296.8 kB / 0.5563 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.1447, allocations: 46.56 kB / 0.5564 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.875e-05/0.1448, allocations: 16.94 kB / 0.5564 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.1448, allocations: 4 kB / 0.5564 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.1449, allocations: 30.56 kB / 0.5564 GB, free: 5.883 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.1449, allocations: 0 / 0.5564 GB, free: 5.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001005/0.1459, allocations: 229.2 kB / 0.5566 GB, free: 5.652 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.1459, allocations: 63.28 kB / 0.5567 GB, free: 5.578 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.1462, allocations: 226.7 kB / 0.5569 GB, free: 5.344 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.1462, allocations: 25.7 kB / 0.5569 GB, free: 5.312 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.1463, allocations: 108.1 kB / 0.557 GB, free: 5.203 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.1463, allocations: 27.73 kB / 0.5571 GB, free: 5.176 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.1464, allocations: 25.72 kB / 0.5571 GB, free: 5.145 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1465, allocations: 326.8 kB / 0.5574 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/0.1466, allocations: 20.06 kB / 0.5574 GB, free: 4.797 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.902e-05/0.1467, allocations: 31.95 kB / 0.5575 GB, free: 4.766 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.1468, allocations: 56.84 kB / 0.5575 GB, free: 4.707 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1468, allocations: 0 / 0.5575 GB, free: 4.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002334/0.1471, allocations: 109.5 kB / 0.5576 GB, free: 4.594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1471, allocations: 10.19 kB / 0.5576 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.1471, allocations: 0 / 0.5576 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1471, allocations: 0 / 0.5576 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1472, allocations: 15.98 kB / 0.5576 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1472, allocations: 7.938 kB / 0.5576 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.1473, allocations: 7.984 kB / 0.5577 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.1473, allocations: 4 kB / 0.5577 GB, free: 4.551 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001042/0.1474, allocations: 129.1 kB / 0.5578 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.1474, allocations: 7.953 kB / 0.5578 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.1477, allocations: 135.6 kB / 0.5579 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1477, allocations: 0 / 0.5579 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.1477, allocations: 7.922 kB / 0.5579 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1477, allocations: 0 / 0.5579 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/0.1483, allocations: 411.3 kB / 0.5583 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.1483, allocations: 7.922 kB / 0.5583 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.393e-05/0.1484, allocations: 15.98 kB / 0.5583 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/0.1484, allocations: 4 kB / 0.5583 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1484, allocations: 4 kB / 0.5583 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1484, allocations: 0 / 0.5583 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1484, allocations: 3.938 kB / 0.5583 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.1487, allocations: 212.2 kB / 0.5586 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.586e-05/0.1488, allocations: 89 kB / 0.5586 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.1488, allocations: 8 kB / 0.5586 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.1489, allocations: 3.984 kB / 0.5586 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.1489, allocations: 4 kB / 0.5587 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.1489, allocations: 4 kB / 0.5587 GB, free: 3.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.1491, allocations: 187.2 kB / 0.5588 GB, free: 3.227 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1491, allocations: 0 / 0.5588 GB, free: 3.227 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1494, allocations: 19.89 kB / 0.5589 GB, free: 3.207 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002382/0.1517, allocations: 1.087 MB / 0.5599 GB, free: 2.277 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.152, allocations: 63.95 kB / 0.56 GB, free: 2.215 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.152, allocations: 0 / 0.56 GB, free: 2.215 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.46e-05/0.1521, allocations: 39.92 kB / 0.56 GB, free: 2.176 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.1525, allocations: 19.73 kB / 0.56 GB, free: 2.156 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.1548, allocations: 1.716 MB / 0.5617 GB, free: 368 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.1552, allocations: 0.7158 MB / 0.5624 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.488e-05/0.1552, allocations: 16.59 kB / 0.5624 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/0.1553, allocations: 31.42 kB / 0.5625 GB, free: 15.57 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1553, allocations: 0 / 0.5625 GB, free: 15.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.1737, allocations: 3.251 MB / 0.5656 GB, free: 12.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.594/8.767, allocations: 7.922 kB / 0.5656 GB, free: 12.38 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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: 12.085780572961085]