Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001224/0.001224, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002002/0.002002, allocations: 210.2 kB / 24.53 MB, free: 4.07 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.42/1.42, allocations: 230.5 MB / 258.2 MB, free: 8.059 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.2267/0.2267, allocations: 46.92 MB / 361.6 MB, free: 4.203 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.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002432/0.002432, allocations: 75.89 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3082, allocations: 66.09 MB / 0.5615 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.00302/0.3113, allocations: 1.699 MB / 0.5632 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.3124, allocations: 0.5693 MB / 0.5637 GB, free: 2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.3124, allocations: 4 kB / 0.5637 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006425/0.3131, allocations: 459.1 kB / 0.5642 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005401/0.3136, allocations: 295.3 kB / 0.5645 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.314, allocations: 126.8 kB / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.3143, allocations: 183.6 kB / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.3144, allocations: 22.17 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.3146, allocations: 115.7 kB / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.3149, allocations: 251.5 kB / 0.5651 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.3149, allocations: 4 kB / 0.5651 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.315, allocations: 55.92 kB / 0.5652 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.3152, allocations: 87.62 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.987e-05/0.3153, allocations: 111 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.3157, allocations: 286.5 kB / 0.5657 GB, free: 40 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3157, allocations: 0 / 0.5657 GB, free: 40 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.3157, allocations: 3.984 kB / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3157, allocations: 0 / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007988/0.3165, allocations: 0.5933 MB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3165, allocations: 8.031 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.13e-05/0.3166, allocations: 4.188 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.317e-05/0.3166, allocations: 38.69 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.586e-05/0.3167, allocations: 52.64 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.317, allocations: 246.8 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.317, allocations: 4.375 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.317, allocations: 8.312 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.3172, allocations: 61.98 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3172, allocations: 4 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.3172, allocations: 3.938 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.3172, allocations: 0 / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.3173, allocations: 51.94 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.3178, allocations: 371.8 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.3181, allocations: 50.58 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.657e-05/0.3181, allocations: 24.97 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.3182, allocations: 0 / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.3182, allocations: 42.56 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.3182, allocations: 3.938 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.00157/0.3198, allocations: 472.7 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.3198, allocations: 63.28 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000905/0.3207, allocations: 0.8776 MB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3207, allocations: 25.7 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.3209, allocations: 220 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.321, allocations: 31.7 kB / 0.5688 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.321, allocations: 29.7 kB / 0.5688 GB, free: 12.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3212, allocations: 358.8 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.3213, allocations: 47.89 kB / 0.5692 GB, free: 12.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.3215, allocations: 47.97 kB / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.3217, allocations: 92.81 kB / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3217, allocations: 0 / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003718/0.3221, allocations: 185.6 kB / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3221, allocations: 10.12 kB / 0.5695 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3221, allocations: 3.938 kB / 0.5695 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3221, allocations: 0 / 0.5695 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.3222, allocations: 23.98 kB / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.3223, allocations: 7.938 kB / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.741e-05/0.3223, allocations: 7.984 kB / 0.5696 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.3224, allocations: 4 kB / 0.5696 GB, free: 11.8 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 (11): * Single equations (assignments): 11 * 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.000213/0.3226, allocations: 223.1 kB / 0.5698 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.589e-05/0.3226, allocations: 47.67 kB / 0.5698 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.3231, allocations: 201.5 kB / 0.57 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3231, allocations: 0 / 0.57 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3231, allocations: 7.938 kB / 0.57 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3231, allocations: 3.984 kB / 0.57 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000834/0.3239, allocations: 0.5419 MB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.3239, allocations: 0 / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.324, allocations: 31.91 kB / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.324, allocations: 0 / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.324, allocations: 4.188 kB / 0.5706 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.324, allocations: 4.062 kB / 0.5706 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-06/0.324, allocations: 8 kB / 0.5706 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.3245, allocations: 284.9 kB / 0.5709 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.3245, allocations: 43.61 kB / 0.5709 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.3245, allocations: 11.98 kB / 0.5709 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.3247, allocations: 8 kB / 0.571 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.3247, allocations: 11.98 kB / 0.571 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.3247, allocations: 3.984 kB / 0.571 GB, free: 10.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006485/0.3254, allocations: 0.6511 MB / 0.5716 GB, free: 9.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3254, allocations: 0 / 0.5716 GB, free: 9.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.3256, allocations: 39.92 kB / 0.5716 GB, free: 9.594 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002275/0.3279, allocations: 1.173 MB / 0.5728 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.3282, allocations: 103.8 kB / 0.5729 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3282, allocations: 4 kB / 0.5729 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.3284, allocations: 59.89 kB / 0.5729 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.3288, allocations: 22.31 kB / 0.573 GB, free: 8.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/0.3331, allocations: 3.462 MB / 0.5763 GB, free: 4.805 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.3335, allocations: 0.8299 MB / 0.5772 GB, free: 3.945 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.253e-05/0.3336, allocations: 12.5 kB / 0.5772 GB, free: 3.934 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.3338, allocations: 115.4 kB / 0.5773 GB, free: 3.824 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3338, allocations: 0 / 0.5773 GB, free: 3.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.3596, allocations: 6.792 MB / 0.5839 GB, free: 13.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.46, allocations: 6.938 kB / 0.5839 GB, free: 13.08 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.417144018982071]