Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.001862/0.001862, 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.002152/0.002152, 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.496/1.496, 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.2302/0.2302, allocations: 44.9 MB / 355.8 MB, free: 12.3 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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29",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.001883/0.001883, allocations: 63.89 kB / 0.4886 GB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1347, allocations: 65.43 MB / 0.5525 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003282/0.138, allocations: 1.651 MB / 0.5541 GB, free: 8.547 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1391, allocations: 0.5493 MB / 0.5546 GB, free: 7.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.1391, allocations: 4 kB / 0.5546 GB, free: 7.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.1394, allocations: 27.84 kB / 0.5546 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.1396, allocations: 87.61 kB / 0.5547 GB, free: 7.875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.1399, allocations: 103.6 kB / 0.5548 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1401, allocations: 91.75 kB / 0.5549 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1402, allocations: 20.2 kB / 0.5549 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.422e-05/0.1402, allocations: 35.84 kB / 0.555 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.988e-05/0.1403, allocations: 35.84 kB / 0.555 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.1403, allocations: 8 kB / 0.555 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.665e-05/0.1404, allocations: 51.91 kB / 0.5551 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.1405, allocations: 15.94 kB / 0.5551 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.1405, allocations: 31.73 kB / 0.5551 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.1407, allocations: 111.5 kB / 0.5552 GB, free: 7.379 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1407, allocations: 8 kB / 0.5552 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1407, allocations: 0 / 0.5552 GB, free: 7.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1407, allocations: 0 / 0.5552 GB, free: 7.371 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005346/0.1413, allocations: 406.8 kB / 0.5556 GB, free: 6.926 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1413, allocations: 8.031 kB / 0.5556 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.793e-05/0.1413, allocations: 4.125 kB / 0.5556 GB, free: 6.914 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.1414, allocations: 38.75 kB / 0.5557 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.1414, allocations: 12.84 kB / 0.5557 GB, free: 6.855 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.1416, allocations: 210.2 kB / 0.5559 GB, free: 6.613 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1416, allocations: 384 / 0.5559 GB, free: 6.613 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.1417, allocations: 12.12 kB / 0.5559 GB, free: 6.602 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.1418, allocations: 73.59 kB / 0.556 GB, free: 6.523 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1418, allocations: 0 / 0.556 GB, free: 6.523 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.1419, allocations: 7.938 kB / 0.556 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1419, allocations: 0 / 0.556 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.142, allocations: 43.91 kB / 0.556 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.1425, allocations: 320.7 kB / 0.5563 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.1426, allocations: 62.5 kB / 0.5564 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.061e-05/0.1427, allocations: 20.84 kB / 0.5564 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.1427, allocations: 0 / 0.5564 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.1427, allocations: 34.72 kB / 0.5564 GB, free: 5.973 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.1427, allocations: 0 / 0.5564 GB, free: 5.973 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001077/0.1438, allocations: 301.6 kB / 0.5567 GB, free: 5.672 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.1438, allocations: 51.41 kB / 0.5568 GB, free: 5.609 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.144, allocations: 163.7 kB / 0.5569 GB, free: 5.441 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.144, allocations: 29.7 kB / 0.5569 GB, free: 5.406 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.1441, allocations: 100.1 kB / 0.557 GB, free: 5.305 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.56e-05/0.1441, allocations: 55.45 kB / 0.5571 GB, free: 5.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.1442, allocations: 29.72 kB / 0.5571 GB, free: 5.215 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1443, allocations: 318.8 kB / 0.5574 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.1444, allocations: 39.97 kB / 0.5575 GB, free: 4.855 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.694e-05/0.1445, allocations: 35.98 kB / 0.5575 GB, free: 4.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.1447, allocations: 96.08 kB / 0.5576 GB, free: 4.727 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1447, allocations: 112 / 0.5576 GB, free: 4.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002883/0.145, allocations: 141.5 kB / 0.5577 GB, free: 4.582 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.145, allocations: 6.188 kB / 0.5577 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.145, allocations: 240 / 0.5577 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1451, allocations: 0 / 0.5577 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.1452, allocations: 35.92 kB / 0.5578 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/0.1452, allocations: 3.984 kB / 0.5578 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.955e-05/0.1453, allocations: 8 kB / 0.5578 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1453, allocations: 4 kB / 0.5578 GB, free: 4.527 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 (13): * Single equations (assignments): 13 * 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.0001009/0.1454, allocations: 124 kB / 0.5579 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.1454, allocations: 19.84 kB / 0.5579 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.1458, allocations: 158.4 kB / 0.5581 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1458, allocations: 0 / 0.5581 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1458, allocations: 4 kB / 0.5581 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1458, allocations: 4 kB / 0.5581 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006528/0.1465, allocations: 463.2 kB / 0.5585 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1465, allocations: 0 / 0.5585 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.565e-05/0.1466, allocations: 23.98 kB / 0.5585 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.1466, allocations: 7.938 kB / 0.5585 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1466, allocations: 7.922 kB / 0.5586 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1466, allocations: 7.969 kB / 0.5586 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1466, allocations: 4 kB / 0.5586 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.1469, allocations: 232.3 kB / 0.5588 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.147, allocations: 89.02 kB / 0.5589 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.147, allocations: 7.984 kB / 0.5589 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.858e-05/0.1471, allocations: 8 kB / 0.5589 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.1471, allocations: 7.984 kB / 0.5589 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.1471, allocations: 7.938 kB / 0.5589 GB, free: 3.266 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.1472, allocations: 130.4 kB / 0.559 GB, free: 3.141 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1472, allocations: 0 / 0.559 GB, free: 3.141 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1475, allocations: 27.94 kB / 0.5591 GB, free: 3.113 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 (13): * Single equations (assignments): 13 * 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.002388/0.1499, allocations: 1.126 MB / 0.5602 GB, free: 2.148 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.1502, allocations: 91.89 kB / 0.5602 GB, free: 2.059 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1502, allocations: 0 / 0.5602 GB, free: 2.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.1503, allocations: 51.91 kB / 0.5603 GB, free: 2.008 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.1507, allocations: 19.92 kB / 0.5603 GB, free: 1.988 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.1527, allocations: 1.683 MB / 0.562 GB, free: 220 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.1531, allocations: 0.7041 MB / 0.5626 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.597e-05/0.1532, allocations: 20.53 kB / 0.5627 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.93e-05/0.1533, allocations: 39.42 kB / 0.5627 GB, free: 15.42 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1533, allocations: 0 / 0.5627 GB, free: 15.42 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.1724, allocations: 3.25 MB / 0.5659 GB, free: 12.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.456/8.629, allocations: 5 kB / 0.5659 GB, free: 12.23 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.801653580041602]