Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001721/0.001721, allocations: 117.6 kB / 18.5 MB, free: 4.434 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.002104/0.002104, allocations: 190.9 kB / 21.44 MB, free: 1.504 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.456/1.456, allocations: 225.6 MB / 249.8 MB, free: 3.594 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.2182/0.2182, allocations: 44.92 MB / 349.6 MB, free: 1.703 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.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 68.44 kB / 491.8 MB, free: 29.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1328, allocations: 64.27 MB / 0.543 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003374/0.1362, allocations: 1.582 MB / 0.5446 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008923/0.1371, allocations: 423.1 kB / 0.545 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.1371, allocations: 0 / 0.545 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.1375, allocations: 107.7 kB / 0.5451 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.1377, allocations: 79.72 kB / 0.5452 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.138, allocations: 107.7 kB / 0.5453 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.1382, allocations: 79.83 kB / 0.5453 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1383, allocations: 20.09 kB / 0.5454 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.256e-05/0.1384, allocations: 39.84 kB / 0.5454 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1385, allocations: 75.78 kB / 0.5455 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1385, allocations: 0 / 0.5455 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.1386, allocations: 43.98 kB / 0.5455 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.1387, allocations: 27.92 kB / 0.5455 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.1387, allocations: 31.73 kB / 0.5456 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.139, allocations: 111.5 kB / 0.5457 GB, free: 1.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.139, allocations: 0 / 0.5457 GB, free: 1.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.139, allocations: 4 kB / 0.5457 GB, free: 1.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.139, allocations: 0 / 0.5457 GB, free: 1.328 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005374/0.1395, allocations: 422.7 kB / 0.5461 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1395, allocations: 8.031 kB / 0.5461 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.1396, allocations: 38.75 kB / 0.5461 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.1396, allocations: 8.891 kB / 0.5461 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.1399, allocations: 212 kB / 0.5463 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1399, allocations: 384 / 0.5463 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1399, allocations: 8.125 kB / 0.5464 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.1401, allocations: 61.61 kB / 0.5464 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1401, allocations: 0 / 0.5464 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1401, allocations: 4 kB / 0.5464 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1401, allocations: 0 / 0.5464 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.963e-05/0.1402, allocations: 27.97 kB / 0.5464 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.1407, allocations: 300.8 kB / 0.5467 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.1408, allocations: 54.48 kB / 0.5468 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.947e-05/0.1409, allocations: 12.86 kB / 0.5468 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1409, allocations: 0 / 0.5468 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.1409, allocations: 38.64 kB / 0.5468 GB, free: 15.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.1409, allocations: 3.938 kB / 0.5468 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009013/0.1418, allocations: 245.2 kB / 0.5471 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.1419, allocations: 63.34 kB / 0.5471 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.1421, allocations: 238.6 kB / 0.5474 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1421, allocations: 33.7 kB / 0.5474 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.1422, allocations: 108.1 kB / 0.5475 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.1423, allocations: 31.69 kB / 0.5475 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.1423, allocations: 25.72 kB / 0.5475 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1424, allocations: 326.8 kB / 0.5479 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.408e-05/0.1425, allocations: 27.98 kB / 0.5479 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.258e-05/0.1426, allocations: 27.97 kB / 0.5479 GB, free: 14.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1428, allocations: 68.83 kB / 0.548 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1428, allocations: 0 / 0.548 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002251/0.143, allocations: 118 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.143, allocations: 4 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.143, allocations: 0 / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.143, allocations: 4 kB / 0.5481 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1431, allocations: 19.92 kB / 0.5481 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1431, allocations: 7.875 kB / 0.5481 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.189e-05/0.1432, allocations: 7.984 kB / 0.5481 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.1432, allocations: 4 kB / 0.5481 GB, free: 14.58 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.0001131/0.1433, allocations: 134.9 kB / 0.5483 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.1433, allocations: 19.89 kB / 0.5483 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.1436, allocations: 127.4 kB / 0.5484 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1436, allocations: 3.938 kB / 0.5484 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1436, allocations: 3.938 kB / 0.5484 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1437, allocations: 3.984 kB / 0.5484 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005858/0.1442, allocations: 423.3 kB / 0.5488 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-05/0.1443, allocations: 11.92 kB / 0.5488 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.1443, allocations: 12 kB / 0.5488 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1443, allocations: 0 / 0.5488 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1443, allocations: 8 kB / 0.5488 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1443, allocations: 3.984 kB / 0.5489 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1443, allocations: 0 / 0.5489 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.1446, allocations: 212.3 kB / 0.5491 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.1447, allocations: 92.95 kB / 0.5491 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.1447, allocations: 0 / 0.5491 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.1448, allocations: 11.98 kB / 0.5492 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.1448, allocations: 4 kB / 0.5492 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.1448, allocations: 8 kB / 0.5492 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001741/0.145, allocations: 187.2 kB / 0.5493 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.145, allocations: 0 / 0.5493 GB, free: 13.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.1453, allocations: 27.88 kB / 0.5494 GB, free: 13.19 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.00221/0.1475, allocations: 1.101 MB / 0.5504 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.1477, allocations: 67.94 kB / 0.5505 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.1477, allocations: 4 kB / 0.5505 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.1478, allocations: 43.91 kB / 0.5506 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.1482, allocations: 14.25 kB / 0.5506 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.1504, allocations: 1.77 MB / 0.5523 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.1508, allocations: 0.7197 MB / 0.553 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.805e-05/0.1509, allocations: 16.64 kB / 0.553 GB, free: 9.516 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.693e-05/0.151, allocations: 39.42 kB / 0.5531 GB, free: 9.477 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.151, allocations: 0 / 0.5531 GB, free: 9.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.1758, allocations: 3.277 MB / 0.5563 GB, free: 6.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.047, allocations: 10.67 kB / 0.5563 GB, free: 6.219 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.045931093860418]