Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.001333/0.001333, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001615/0.001615, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.457/1.457, allocations: 230.5 MB / 257.4 MB, free: 7.801 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.2274/0.2274, allocations: 46.95 MB / 360.8 MB, free: 3.961 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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002514/0.002514, allocations: 83.88 kB / 0.4962 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3178, allocations: 66.09 MB / 0.5607 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.00304/0.3208, allocations: 1.604 MB / 0.5623 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.3219, allocations: 0.5305 MB / 0.5628 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.3219, allocations: 4 kB / 0.5628 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.3222, allocations: 127.6 kB / 0.5629 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.3225, allocations: 127.5 kB / 0.5631 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.3228, allocations: 114.9 kB / 0.5632 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.323, allocations: 91.8 kB / 0.5632 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3231, allocations: 13.81 kB / 0.5633 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.973e-05/0.3232, allocations: 55.81 kB / 0.5633 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.3234, allocations: 91.77 kB / 0.5634 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.3234, allocations: 0 / 0.5634 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.3235, allocations: 51.97 kB / 0.5635 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.554e-05/0.3235, allocations: 31.86 kB / 0.5635 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.686e-05/0.3236, allocations: 23.75 kB / 0.5635 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.3238, allocations: 131.4 kB / 0.5636 GB, free: 1.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3238, allocations: 0 / 0.5636 GB, free: 1.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3238, allocations: 0 / 0.5636 GB, free: 1.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.3238, allocations: 0 / 0.5636 GB, free: 1.066 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.000515/0.3243, allocations: 369.3 kB / 0.564 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3244, allocations: 8.031 kB / 0.564 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.3244, allocations: 38.75 kB / 0.564 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.3244, allocations: 12.84 kB / 0.564 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.3247, allocations: 166.4 kB / 0.5642 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3247, allocations: 4.359 kB / 0.5642 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.3247, allocations: 4.375 kB / 0.5642 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3249, allocations: 54.19 kB / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.3249, allocations: 11.92 kB / 0.5643 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3249, allocations: 0 / 0.5643 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3249, allocations: 7.938 kB / 0.5643 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.555e-05/0.325, allocations: 27.97 kB / 0.5643 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.3254, allocations: 272.1 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.3256, allocations: 46.59 kB / 0.5646 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.277e-05/0.3256, allocations: 16.84 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3256, allocations: 0 / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.3257, allocations: 34.56 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3257, allocations: 4 kB / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000945/0.3266, allocations: 249.1 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/0.3267, allocations: 59.39 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.327, allocations: 275.8 kB / 0.5652 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.327, allocations: 25.7 kB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.388e-05/0.3271, allocations: 112.1 kB / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.3272, allocations: 35.8 kB / 0.5654 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.3272, allocations: 25.66 kB / 0.5654 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3274, allocations: 330.8 kB / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-05/0.3275, allocations: 31.97 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.951e-05/0.3276, allocations: 27.98 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.3277, allocations: 72.81 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3277, allocations: 0 / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002399/0.328, allocations: 113.6 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.328, allocations: 8 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.328, allocations: 0 / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.328, allocations: 0 / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.3281, allocations: 23.92 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3281, allocations: 4 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.3282, allocations: 3.984 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3282, allocations: 4 kB / 0.566 GB, free: 14.43 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.000129/0.3283, allocations: 139.1 kB / 0.5661 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.3284, allocations: 23.91 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003219/0.3287, allocations: 135 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3287, allocations: 3.938 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3287, allocations: 11.88 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3287, allocations: 0 / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.3293, allocations: 391.1 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3293, allocations: 0 / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.3294, allocations: 20.03 kB / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.3294, allocations: 3.984 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.3294, allocations: 3.938 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3294, allocations: 0 / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.3294, allocations: 4 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.3298, allocations: 224.2 kB / 0.5669 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.3298, allocations: 15.91 kB / 0.5669 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.3298, allocations: 7.938 kB / 0.5669 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.3299, allocations: 7.984 kB / 0.5669 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.3299, allocations: 7.984 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.3299, allocations: 4 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002257/0.3302, allocations: 212.1 kB / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3302, allocations: 0 / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.3304, allocations: 27.92 kB / 0.5672 GB, free: 13.12 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.00258/0.333, allocations: 1.123 MB / 0.5683 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002624/0.3333, allocations: 67.95 kB / 0.5684 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.746e-05/0.3333, allocations: 4 kB / 0.5684 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.3334, allocations: 39.91 kB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.3338, allocations: 19.83 kB / 0.5684 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.3364, allocations: 1.856 MB / 0.5702 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.3366, allocations: 113.1 kB / 0.5703 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.395e-05/0.3366, allocations: 24.89 kB / 0.5704 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.393e-05/0.3367, allocations: 39.42 kB / 0.5704 GB, free: 9.875 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3367, allocations: 4 kB / 0.5704 GB, free: 9.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.3668, allocations: 3.997 MB / 0.5743 GB, free: 5.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.91, allocations: 3.859 kB / 0.5743 GB, free: 5.887 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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: 13.826418371871114]