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.001833/0.001833, allocations: 114 kB / 20.43 MB, free: 1.457 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.002472/0.002472, allocations: 215.3 kB / 23.74 MB, free: 4.672 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.471/1.471, allocations: 230.5 MB / 257.4 MB, free: 7.98 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.2247/0.2247, allocations: 46.92 MB / 360.8 MB, free: 4.168 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 79.88 kB / 0.4962 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3161, allocations: 66.08 MB / 0.5608 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.00306/0.3192, allocations: 1.64 MB / 0.5624 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.3202, allocations: 0.5537 MB / 0.5629 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.104e-05/0.3203, allocations: 0 / 0.5629 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.3206, allocations: 123.7 kB / 0.563 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.3209, allocations: 131.5 kB / 0.5631 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.3211, allocations: 91.08 kB / 0.5632 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.3213, allocations: 107.7 kB / 0.5633 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.258e-05/0.3214, allocations: 13.83 kB / 0.5633 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.357e-05/0.3215, allocations: 47.88 kB / 0.5634 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.3217, allocations: 95.7 kB / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.3217, allocations: 4 kB / 0.5635 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.396e-05/0.3218, allocations: 43.97 kB / 0.5635 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.3218, allocations: 23.92 kB / 0.5635 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.056e-05/0.3219, allocations: 43.67 kB / 0.5636 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.3221, allocations: 123.4 kB / 0.5637 GB, free: 1.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3221, allocations: 8 kB / 0.5637 GB, free: 1.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3221, allocations: 0 / 0.5637 GB, free: 1.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3221, allocations: 3.938 kB / 0.5637 GB, free: 1.219 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.0005184/0.3226, allocations: 361.4 kB / 0.5641 GB, free: 0.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.3226, allocations: 8.031 kB / 0.5641 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.3227, allocations: 34.75 kB / 0.5641 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.3227, allocations: 16.84 kB / 0.5641 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.3229, allocations: 158.4 kB / 0.5643 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-06/0.3229, allocations: 4.375 kB / 0.5643 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.3229, allocations: 8.312 kB / 0.5643 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.3231, allocations: 62.17 kB / 0.5643 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3231, allocations: 3.938 kB / 0.5643 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.3231, allocations: 0 / 0.5643 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.3231, allocations: 3.984 kB / 0.5643 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.564e-05/0.3232, allocations: 23.98 kB / 0.5644 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.3236, allocations: 275.9 kB / 0.5646 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.3237, allocations: 46.5 kB / 0.5647 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.3237, allocations: 20.86 kB / 0.5647 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3238, allocations: 96 / 0.5647 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.3238, allocations: 38.55 kB / 0.5647 GB, free: 40 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.3238, allocations: 0 / 0.5647 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008751/0.3247, allocations: 233.1 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.3247, allocations: 55.41 kB / 0.565 GB, free: 15.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.325, allocations: 271.8 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.325, allocations: 29.7 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.428e-05/0.3251, allocations: 112.1 kB / 0.5654 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.3251, allocations: 35.81 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.3252, allocations: 25.7 kB / 0.5655 GB, free: 15.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.3253, allocations: 330.8 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.474e-05/0.3254, allocations: 23.97 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.567e-05/0.3255, allocations: 23.98 kB / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3256, allocations: 64.83 kB / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3256, allocations: 4 kB / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002092/0.3258, allocations: 97.58 kB / 0.566 GB, free: 14.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3259, allocations: 4 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3259, allocations: 0 / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3259, allocations: 3.984 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.326, allocations: 19.94 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.326, allocations: 4 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.3261, allocations: 11.98 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.3261, allocations: 7.938 kB / 0.566 GB, free: 14.64 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.0001088/0.3262, allocations: 136.5 kB / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.3262, allocations: 15.91 kB / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.3265, allocations: 127.3 kB / 0.5663 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3265, allocations: 0 / 0.5663 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3265, allocations: 0 / 0.5663 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3265, allocations: 0 / 0.5663 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005696/0.3271, allocations: 390.3 kB / 0.5667 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3271, allocations: 4 kB / 0.5667 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.311e-05/0.3271, allocations: 19.98 kB / 0.5667 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3272, allocations: 0 / 0.5667 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.3272, allocations: 7.938 kB / 0.5667 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.3272, allocations: 3.938 kB / 0.5667 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3272, allocations: 0 / 0.5667 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.3275, allocations: 212.2 kB / 0.5669 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.3275, allocations: 15.91 kB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.3275, allocations: 7.938 kB / 0.5669 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.3276, allocations: 4 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.3276, allocations: 8.344 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.3276, allocations: 8 kB / 0.5669 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000204/0.3278, allocations: 216.1 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3278, allocations: 0 / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.3281, allocations: 19.94 kB / 0.5672 GB, free: 13.38 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.0023/0.3304, allocations: 1.085 MB / 0.5682 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.3306, allocations: 63.95 kB / 0.5683 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3306, allocations: 0 / 0.5683 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.118e-05/0.3307, allocations: 35.92 kB / 0.5683 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.3311, allocations: 28 kB / 0.5684 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.3336, allocations: 1.817 MB / 0.5701 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.334, allocations: 0.7196 MB / 0.5708 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.709e-05/0.334, allocations: 12.67 kB / 0.5708 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.857e-05/0.3341, allocations: 39.42 kB / 0.5709 GB, free: 9.598 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3341, allocations: 4 kB / 0.5709 GB, free: 9.594 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.3631, allocations: 3.547 MB / 0.5744 GB, free: 6.078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.65, allocations: 6.438 kB / 0.5744 GB, free: 6.074 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.706886121770367]