Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001526/0.001526, allocations: 117 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001643/0.001643, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 230.5 MB / 254.7 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2137/0.2137, allocations: 46.91 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 79.88 kB / 0.4917 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.117, allocations: 66.05 MB / 0.5562 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003206/0.1202, allocations: 1.626 MB / 0.5578 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1212, allocations: 0.541 MB / 0.5583 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.1212, allocations: 0 / 0.5583 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003203/0.1216, allocations: 127.7 kB / 0.5584 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.1219, allocations: 135.5 kB / 0.5585 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.1221, allocations: 91.64 kB / 0.5586 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.1223, allocations: 99.73 kB / 0.5587 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.297e-05/0.1224, allocations: 15.97 kB / 0.5587 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.566e-05/0.1224, allocations: 47.83 kB / 0.5588 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.1226, allocations: 87.77 kB / 0.5589 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1226, allocations: 4 kB / 0.5589 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.695e-05/0.1227, allocations: 55.97 kB / 0.5589 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.591e-05/0.1227, allocations: 23.92 kB / 0.559 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.081e-05/0.1228, allocations: 35.69 kB / 0.559 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.123, allocations: 127.3 kB / 0.5591 GB, free: 2.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.123, allocations: 3.984 kB / 0.5591 GB, free: 2.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.123, allocations: 0 / 0.5591 GB, free: 2.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.123, allocations: 0 / 0.5591 GB, free: 2.48 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.0005474/0.1236, allocations: 442.5 kB / 0.5595 GB, free: 1.996 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1236, allocations: 8.031 kB / 0.5595 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.782e-05/0.1236, allocations: 12.19 kB / 0.5596 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.08e-05/0.1237, allocations: 30.75 kB / 0.5596 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.1237, allocations: 12.84 kB / 0.5596 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.1239, allocations: 215.8 kB / 0.5598 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1239, allocations: 4.375 kB / 0.5598 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.124, allocations: 8.375 kB / 0.5598 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1241, allocations: 53.98 kB / 0.5599 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1241, allocations: 0 / 0.5599 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.1241, allocations: 0 / 0.5599 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1241, allocations: 4 kB / 0.5599 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.674e-05/0.1242, allocations: 31.97 kB / 0.5599 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.1246, allocations: 304.8 kB / 0.5602 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.1247, allocations: 42.55 kB / 0.5602 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.1248, allocations: 24.88 kB / 0.5603 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1248, allocations: 0 / 0.5603 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1248, allocations: 34.56 kB / 0.5603 GB, free: 1.102 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.1248, allocations: 0 / 0.5603 GB, free: 1.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008724/0.1257, allocations: 233.1 kB / 0.5605 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.1257, allocations: 59.34 kB / 0.5606 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.126, allocations: 275.8 kB / 0.5608 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.126, allocations: 25.7 kB / 0.5609 GB, free: 492 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.1261, allocations: 120 kB / 0.561 GB, free: 368 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.1261, allocations: 31.81 kB / 0.561 GB, free: 336 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.1262, allocations: 21.7 kB / 0.561 GB, free: 308 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1263, allocations: 334.8 kB / 0.5613 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.107e-05/0.1264, allocations: 23.98 kB / 0.5614 GB, free: 15.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.1265, allocations: 27.98 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.1266, allocations: 56.83 kB / 0.5614 GB, free: 15.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1266, allocations: 0 / 0.5614 GB, free: 15.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002153/0.1268, allocations: 101.8 kB / 0.5615 GB, free: 15.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1269, allocations: 11.94 kB / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1269, allocations: 0 / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1269, allocations: 4 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.127, allocations: 19.98 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.127, allocations: 8.062 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.321e-05/0.127, allocations: 3.938 kB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.127, allocations: 4 kB / 0.5616 GB, free: 15.7 MB / 430.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.0001038/0.1271, allocations: 133.8 kB / 0.5617 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.1272, allocations: 15.91 kB / 0.5617 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.1275, allocations: 127 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1275, allocations: 4 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1275, allocations: 0 / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1275, allocations: 7.922 kB / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005399/0.128, allocations: 407.3 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.128, allocations: 3.938 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-05/0.1281, allocations: 20.02 kB / 0.5623 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.1281, allocations: 11.94 kB / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1281, allocations: 0 / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.1281, allocations: 4 kB / 0.5623 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1281, allocations: 0 / 0.5623 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.1284, allocations: 208.2 kB / 0.5625 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.1284, allocations: 93.02 kB / 0.5626 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.1285, allocations: 11.92 kB / 0.5626 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.1285, allocations: 4 kB / 0.5626 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.1286, allocations: 7.984 kB / 0.5626 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.1286, allocations: 4 kB / 0.5626 GB, free: 14.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.1288, allocations: 205.5 kB / 0.5628 GB, free: 14.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1288, allocations: 4 kB / 0.5628 GB, free: 14.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.129, allocations: 19.92 kB / 0.5628 GB, free: 14.32 MB / 430.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.002187/0.1312, allocations: 1.095 MB / 0.5639 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.1315, allocations: 63.95 kB / 0.564 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1315, allocations: 0 / 0.564 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.309e-05/0.1316, allocations: 39.91 kB / 0.564 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.1319, allocations: 15.78 kB / 0.564 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.134, allocations: 1.821 MB / 0.5658 GB, free: 11.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.1344, allocations: 0.7158 MB / 0.5665 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.42e-05/0.1344, allocations: 12.66 kB / 0.5665 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.753e-05/0.1345, allocations: 39.42 kB / 0.5665 GB, free: 10.54 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1345, allocations: 0 / 0.5665 GB, free: 10.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.1522, allocations: 3.45 MB / 0.5699 GB, free: 7.148 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.092, allocations: 8.062 kB / 0.5699 GB, free: 7.141 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.027339730004314]